Packager isn't working for my hello world
See original GitHub issueDescription
I’m trying to start a new app following the readme steps. But npm start
is taking too long.
I never used npm before, just saying. My guess it’s some dependence is missing, I even tried npm install -g react
with no success (npm start
keeps taking too long). I’m lost here.
Expected Behavior
Since it’s the very first time I’m trying to run this, I don’t really know what should be happening here.
Observed Behavior
npm start
InfoBusUFRN-App@0.1.0 start /home/mazuh/Projects/InfoBusUFRN-App react-native-scripts start 6:00:04 PM: Starting packager… 6:42:37 PM: Stopping packager… 6:42:37 PM: Packager stopped.
Environment
Please run these commands in the project folder and fill in their results:
-
npm ls react-native-scripts
: InfoBusUFRN-App@0.1.0 /home/mazuh/Projects/InfoBusUFRN-App └── react-native-scripts@1.1.0 -
npm ls react-native
: InfoBusUFRN-App@0.1.0 /home/mazuh/Projects/InfoBusUFRN-App └── react-native@0.46.4 -
npm ls expo
: └─┬ expo@19.0.1 └── UNMET PEER DEPENDENCY react@>=15.3.1
npm ERR! peer dep missing: react@>=15.3.1, required by lottie-react-native@1.1.1 npm ERR! peer dep missing: react@>=15.4.0, required by react-native-branch@2.0.0-beta.3
-
node -v
: v6.11.2 -
npm -v
: 3.10.10 -
yarn --version
: Not installed. -
watchman version
: Not found.
- Operating system: Ubuntu 17
- Phone/emulator/simulator & version: Android 6
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (3 by maintainers)
Top GitHub Comments
you can try this. turn off your wifi, and run it.
@Mazuh you should try @Brejw15’s solution. You can refer to https://github.com/react-community/create-react-native-app/issues/234. Those command tells if the system is capable of tracking your files for any changes. Watchman need those commands. Also refer https://facebook.github.io/watchman/docs/install.html#system-specific-preparation