先npm install安装好相关包
之后无论是从Xcode中启动还是直接npm install都会爆出一个相同的bug:
Error watching file for changes: EMFILE
{"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null}
Error: Error watching file for changes: EMFILE
at exports._errnoException (util.js:1008:11)
at FSEvent.FSWatcher._handle.onchange (fs.js:1406:11)
这个有没有经验人士知道怎么回事
(系统为OS X10.12)
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
需要安装watchman
git clone https://github.com/facebook/w...
cd watchman
./autogen.sh
./configure
make
sudo make install
升级最新MacOS系统后,需要重新安装一次brew install watchman