template application generated by express express-generator, execute npm run dev
package.json->
"scripts": {
"start": "node ./bin/www",
"dev": "set DEBUG=myapp:* & npm start"
},
error message:
err! Code ELIFECYCLE
npm err! Errno 1
npm err! Myapp@0.0.0 start: node. / bin/www
npm err! Exit status 1
npm err!
npm err! Failed at the myapp@0.0.0 start script.
npm err! This is probably not a problem with npm. There is likely additional logging output above.