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.
You can try to edit a file from react-native packager
node_modules\react-native\packager\react-packager\src\FileWatcher\index.js
Change the line 17 MAX_WAIT_TIME to 60000.
More here
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_modules\react-native\packager\react-packager\src\FileWatcher\index.js line 17 MAX_WAIT_TIME to 50000 or higher
May be this can help you
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With