I have a problem: nodemon does not run off the npm script (e.g. npm start), but if nodemon is called on the command line outside the npm script, nodemon run
npm start
sudo npm install nodemon -g --save
Finally this worked for me. I hope this must work for others too