Comments (7)
Can you restart your computer and try again?
Sometimes fseventsd on OSX gets into a bad state which can be solved by restarting. If that didn't work please bump the timeout we have in react-packager FileWatcher.js, maybe we need a longer one.
Let me know if either of those work.
from react-native.
I restarted my computer and tried running npm start again, without any luck. I also changed MAX_WAIT_TIME = 30000; in the react-packager/src/FileWatcher/index.js file and didn't have any luck with that either.
When I ran npm install this is the output I got:
npm WARN package.json [email protected] punycode is also the name of a node core module.
npm WARN package.json [email protected] No repository field.
npm WARN prefer global [email protected] should be installed with -g
So I ran npm install -g. I'm not sure if that makes a difference or not.
from react-native.
Oh, maybe this is the same error as another issue. Did you happen to have typed
npm install npm start
by chance? If yes, can you do
rm -Rf node_modules
and do
npm install
from react-native.
Oh yes, I did type that. I did the rm -Rf node_modules and npm install, but I'm still seeing the watcher error happening. When I run the simulator, the app loads, and a red screen appears. This is what the terminal has:
Error: Watcher took too long to load.
at null._onTimeout (/Users/mrscobbler/Projects/react-native/packager/react-packager/src/FileWatcher/index.js:37:16)
at Timer.listOnTimeout as ontimeout
[15:02:49] request:/Examples/Movies/MoviesApp.includeRequire.runModule.bundle
from react-native.
Ok I think I fixed my problem! I had installed watchman on my computer and then upgraded my computer to Yosemite so I could get the latest version of Xcode. I uninstalled watchman and then reinstalled it. That fixed the problem. I'm guessing the version of watchman I had didn't work with Yosemite? Thanks for the help!
from react-native.
Awesome! @amasad I think it would be nice to add something like "try running watchman
from your terminal" to the "Watcher took too long to load" error message, because it can give more details about what's wrong.
from react-native.
I think that would help. Thanks again!
from react-native.
Related Issues (20)
- TypeError: Cannot create property 'lastUpdateCheck' on string 'lastUpdateCheck 1713956001921 nodeLinker node-modules ces nodeLinker node-modules' HOT 4
- Crash - malloc: Heap corruption detected, free list is damaged HOT 2
- [0.74.0] AppState module has an error on android HOT 11
- Emiting Events from Android in New Arch + Bridgeless + interop layer HOT 5
- react native reanimated erro in 0.74 HOT 4
- [0.74] AppRegistry.registerComponent cannot show in a new ReactRooView HOT 2
- use turboModule in app not as a libray in node_modules folder work fail, js file can not find the turboModule HOT 2
- libgojni.so MTE crash (memory unsafe code) HOT 5
- couldn't find DSO to load: libhermes.so SoSource 0: com.facebook.soloader.ApkSoSource HOT 3
- App State 0.74 in DEVELOPMENT HOT 5
- I compare 0.72.5 and 0.74.0 react native android app size,0.74.0 is 50MB,And 0.72.5 is 21.7 MB.How to reduce 0.74.0 android app size? HOT 14
- WebSocket on android works slower than on ios HOT 1
- @react-native/typescript-config causes type check error for dependencies HOT 1
- CellRendererComponent with onViewableItemsChanged HOT 3
- Can't display Image with source as required() HOT 10
- iOS 17使用调试本地资源,调用网络请求就会闪退,非调试功能下正常 HOT 2
- 'React/JSCExecutorFactory.h' file not found HOT 2
- 'yoga/Yoga.h' file not found HOT 2
- npm can't find tesseract-ocr HOT 3
- Build failed with an exception HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native.