-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Can't init a new react native project with "react-native init" command line #11025
Copy link
Copy link
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Description
system: mac os sierra,
node: V7.1.0,
react-native-cli: 1.2.0
yarn:0.17.6
I tried to run "react-native init reactNtivePro" to init my project. but it can't finish for a long time. about half an hour later, I canceled it and retried many times.
Solution
- I tried to reinstall my react-native-cli, and run the command line again. it mention me to install yarn will be faster.
2.I tried to run "brew install yarn", if didn't work, and I ran "npm install -g yarn" instead, and i install yarn 0.17.6 successfully.
3.tried "react-native init" again, mentioned using yarn installing react native, but can't finish just like before
4.I download the latest node and reinstall my node, reinstall my yarn and everything else, even my system, but nothing changed.
5.no matter how long it ran, only node_modules,package.json,yarn.lock in the project folder.
Additional Information
- React Native version: [0.37] react-native-cli 1.2
- Platform: [FILL THIS OUT: iOS, Android, or both?]
- Operating System: [MacOS]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.