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
You can resolve this problem by adding nodemon to your package.json:
nodemon
package.json
npm install nodemon --save-dev
The problem happens when nodemon does not exist in /node_modules/.bin.
/node_modules/.bin
Added --save-dev since it's required during development only.
--save-dev