【发布时间】:2017-12-19 11:30:32
【问题描述】:
我正在尝试在我的手机中运行已构建的应用程序。当我使用“react-native start”代码启动应用程序时,它会在一段时间后返回以下错误消息
ERROR Watcher took too long to load (NodeWatcher)
Error: Watcher took too long to load (NodeWatcher)
at Timeout._onTimeout (index.js:99:16)
at ontimeout (timers.js:386:14)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
我使用的是 Windows 7(32 位)。我没有找到任何适用于 Windows 7 32 位系统的“守望者”版本。由于这个问题,我在手机上安装我的应用后出现以下错误
Reference Error: Can't find varaible: __fbBatchedBridge
编辑:现在我已经将我的系统升级到 64 位的 windows8。但是我仍然无法安装守望者。
【问题讨论】:
-
你使用的是什么版本的 react-native 和 watchman?我想我已经解决了你的问题,我只需要确认版本。
-
你的守望者版本是什么?
-
React Native 项目主管是 git 存储库吗?你是怎么安装守望者的?
-
我是从这里下载的。 facebook.github.io/watchman/docs/install.html。说windows 7 32bit系统没有发布,所以我没有安装watchman
标签: reactjs react-native timeout node-modules watchman