React-Native 错误问题-1 :Watcher took too long to load

前端之家收集整理的这篇文章主要介绍了React-Native 错误问题-1 :Watcher took too long to load前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

系统: 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

猜你在找的React相关文章