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相關的程序,然後再次運行它 –