错误运行react-scripts start:event.js 182

时间:2017-06-06 09:19:55

标签: reactjs npm redux react-scripts

我在bitbucket中克隆了一个项目,当我运行npm start时,我收到了一个错误:

 events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: watch /var/www/html/eoffice-chat-web/public ENOSPC
    at exports._errnoException (util.js:1026:11)
    at FSWatcher.start (fs.js:1371:19)
    at Object.fs.watch (fs.js:1397:11)
    at createFsWatchInstance (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/var/www/html/eoffice-chat-web/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:153:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! eoffice-chat-web@0.1.0 start: `react-scripts start`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the eoffice-chat-web@0.1.0 start 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/tom/.npm/_logs/2017-06-06T09_07_59_232Z-debug.log

请帮我修理一下!谢谢。

2 个答案:

答案 0 :(得分:3)

错误的ENOSPC部分意味着驱动器上没有空间。检查以确保该分区上有足够的空间。

答案 1 :(得分:-3)

错误执行events.js:182 on npm start

这里的问题是错误:听EADDRINUSE 0.0.0.0:3000 您已经有一个连接到端口3000的进程,那么您是否正在运行另一个node.js服务?