当我运行命令npm start
时,该命令不起作用,我将收到此错误日志。请从那里帮助我,我是React和Node的新手
安装版本在这里
node -v 8.12.0
npm -v 6.4.1
ubuntu 16.04
错误日志
App Server is up! Listening: 3000
Error: Exited with code 3
at ChildProcess.cp.once.code (/var/www/html/obv-
web/resources/assets/universsr/node_modules/opn/index.js:85:13)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Socket.stream.socket.on (internal/child_process.js:336:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:561:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! universsr@1.0.0-beta.2 dev:app: `cross-env
NODE_ENV=development node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the universsr@1.0.0-beta.2 dev:app 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! /home/sheeteshdubey/.npm/_logs/2019-03-19T10_00_27_891Z-
debug.log
ERROR: "dev:app" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! universsr@1.0.0-beta.2 dev: `npm-run-all clean config && run-
p dev:api dev:app`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the universsr@1.0.0-beta.2 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! /home/sheeteshdubey/.npm/_logs/2019-03-19T10_00_27_964Z-
debug.log
提前感谢