Watcher took too long time to load(NodeWatcher)

I am trying to run already built application in my mobile. When i start the app with "react-native start" code, it returns the following error message after some time

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)

I am using Windows 7 (32 Bit). I dont find any "Watchman" release for windows 7 32bit system. Because of this issue, i got the following error after installing my app in mobile

Reference Error: Can't find varaible: __fbBatchedBridge

Edit: now i have upgrade my system to windows8 with 64bit. But still i was not able to install the watchman.


i just want to help you so i think you need to re-install your watchman because I've also had problems with my wachman and the solution I re-install and my program goes back

i hope this answer can help you :)


Changing this passed my test on window

node_modulesreact-nativepackagerreact-packagersrcFileWatcherindex.js line 17 MAX_WAIT_TIME to 50000 or higher 

May be this can help you


You can try to edit a file from react-native packager

node_modulesreact-nativepackagerreact-packagersrcFileWatcherindex.js

Change the line 17 MAX_WAIT_TIME to 60000.

More here

链接地址: http://www.djcxy.com/p/39958.html

上一篇: Xcode 9:Swift依赖关系分析错误

下一篇: Watcher花了很长时间来加载(NodeWatcher)