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)
- Autocomplete Failure in React Native TextInput with multiline={true} Prop (TextInput) HOT 2
- [!] Failed to load 'hermes-engine' podspec: [!] Invalid `hermes-engine.podspec` file: [!] Unable to locate the executable `cmake`. HOT 3
- [!] Failed to load 'hermes-engine' podspec: [!] Invalid hermes-engine.podspec file: [!] Unable to locate the executable cmake. HOT 5
- [0.74][iOS] Wrong state of Touchable components with React.Suspense on New Architecture HOT 10
- [!] Invalid hermes-engine.podspec file: [!] Unable to locate the executable cmake. HOT 8
- Android native module rejections are not instanceof Error HOT 1
- Could not find com.facebook.react:react-android:.:0.72.1 HOT 9
- Build issues with 0.71 RNSha256 XCode 15.3 HOT 4
- `fontVariant` doesn't work on iOS when using the new architecture
- UI problem with iOS floating keyboard in iPad. HOT 5
- TouchableWithoutFeedback does not support style HOT 1
- Cannot find EventEmitter for receivedTouches EventName[topTouchMove, topTouchEnd] on native library HOT 5
- RCTNativeAnimatedNodesManager.mm props is not a node HOT 1
- Unexpected scroll behaviors when using FlatList HOT 5
- When I integration react native with Existing Android Apps,I got a autolinking question. HOT 2
- Symbol not found: (_JSGlobalContextSetInspectable) HOT 1
- The directory ****/ios contains 2 projects HOT 3
- textInput props textAlign will cause long text to be cut off after the hyphen when out of focus and focus again
- close the first modal with animation, then open the second modal immediately, the second modal can't be showed HOT 2
- UI updates made from layout effect are flushed in separate UI transaction HOT 3
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.