Comments (7)
@hramos - it seems that on some machines it's needed :\ if we're unable to start the packager due to fs event notif limits we do provide specific instructions for how to get it work without watchman and also link to watchman -- https://github.com/react-community/create-react-native-app/blob/882f1d23766b827429b2b1fbfd4afc513796a652/react-native-scripts/src/util/packager.js#L77-L116
the bet we're making here is that people will have less problems not installing watchman and following the error message than they will if they try to install watchman (which people often have problems with this on Windows/Linux). neither solution is perfect. ideally we'd bundle something like watchman (perhaps even watchman itself) in CRNA and scope it so it doesn't deal with any global system state
from react-native-website.
This should probably be tracked somewhere else (metro maybe?) but it would be very nice to either replace watchman with a non-global per-process watcher, or to bundle watchman as platform specific npm packages and use its --state-dir
and --foreground
flags to isolate it to a specific packager instance. This would get people more accurate file watching without needing to install it separately from CRNA and without the global state debugging dance that usually comes with watchman's default configuration.
from react-native-website.
There's several permutations depending on the platform you're developing on and the platform you're targeting. Can you tell us more about which version of the guide you followed? Watchman is mentioned in the iOS and macOS version of the guide, for example.
from react-native-website.
Sorry - you're following the Quick Start it seems. Watchman should not be required by CRNA unless something changed recently. Can you tell us more about what did not work?
from react-native-website.
cc @dikaiosune
from react-native-website.
Yeah I tried to run it on my mac book air (I think its like an 09 or something)
I'll uninstall watchman a bit later and get the error message back if you need however I found the error was caused by not having watchman on my machine which worked fine after installing it
In regards to watchman being purposely left out of the docs, feel free to close this issue.
I just thought I'd create it incase you weren't aware of the error message
from react-native-website.
@814k31 you can close this issue, watchman is already mentioned!
from react-native-website.
Related Issues (20)
- Docs for disabling Hermes incorrect in 0.74 HOT 7
- Docs out of date for "Publishing to Apple App Store" HOT 4
- how to hide header of parent drawer Navigator HOT 1
- Turbo Native Modules - error in code example in CalculatorPackage.kt
- What does the 'md' in the event signature mean? HOT 2
- More info on environment version JDK HOT 1
- TextInput onFocus Type is not LayoutEvent HOT 1
- overflow table header in TextInput section
- The docs mention a hook `useDimensions` from @react-native-community/hooks. This hook does not exist. HOT 1
- link for example app for integration (2048 game) is broken HOT 4
- Accessibility Role table doesn't work HOT 7
- Docs to create a react native module sucks HOT 2
- Text Style Props documentation Demo issue
- Deprecated components should be clearly marked deprecated on the website HOT 3
- Clarity on what is `accessible`
- Docs say "Yarn has created a new /node_modules folder", but npm is also available in the tabs above. HOT 2
- React 18 and React Native guide out of date HOT 2
- Building For TV Devices
- Add Pressable Component to the Documentation of Core-Components and API, User Interface Section HOT 1
- Issue with "Setting up the development environment" Page version=0.73 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-website.