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
for linux try
sudo npm install -g nodemon
for windows open powershell or cmd as administration
npm install -g nodemon