[英]React - npm start fails with error
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
但是錯誤仍然發生。
這看起來是一個類似的問題,使用相同的溶液作為對我回答在這里 ,您必須安裝watchman
與brew install watchman
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.