NPM start throwing the following error
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)
I have tried
rm -rf node-modules/
npm install
npm run build
but the error still occurs.
这看起来是一个类似的问题,使用相同的溶液作为对我回答在这里 ,您必须安装watchman
与brew install watchman
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.