系统: window
错误描述
Error: Watchman error: Watcher took too long to load (WatchmanWatcher)
Try running watchman version
from your terminal
解决办法
修改FileWatcher的MAX_WAIT_TIME 时间
路径:
node_modules—>react-native—>packager—>react-packager—>src—>node-haste—>FileWatcher—>index.js
文件里的MAX_WAIT_TIME = 250000;
原文链接:https://www.f2er.com/react/305412.html