centos don't work
flashgogo opened this issue · 0 comments
[root@test meituan-backend]# npm run dev
meituan-back@1.0.1 dev /data/www/meituan-backend
cross-env NODE_ENV=dev nodemon index.js
events.js:183
throw er; // Unhandled 'error' event
^
Error: spawn nodemon ENOENT
at _errnoException (util.js:1022:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
at onErrorNT (internal/child_process.js:372:16)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
at Function.Module.runMain (module.js:686:11)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! meituan-back@1.0.1 dev: cross-env NODE_ENV=dev nodemon index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the meituan-back@1.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-09-13T09_05_56_913Z-debug.log