If nohup is giving error to start npm, here is another way to start the npm in the background.
First install forever globally.
First install forever globally.
npm install -g forever
cd into the projectcd /project/path/
Run forever command.forever start -c "npm start" ./