0
NPM开始抛出下面的错误阵营 - NPM启动失败,错误
events.js:160
throw er; // Unhandled 'error' event
^
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1022:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
我已经试过
rm -rf node-modules/
npm install
npm run build
,但仍然出现错误。
可能还有别的东西在4040端口上运行,或者你正在使用的东西 尝试关闭所有与npm相关的程序,然后再次运行它 –