ignite: failed to add React Native 0.45.1
I am getting an failed to add React Native 0.45.1 error when I try to create a new app
🔥 igniting app newTestapp
✔ using the Infinite Red boilerplate v2 (code name 'Andross')
✖ failed to add React Native 0.45.1
ignite doctor results:
System
platform darwin
arch x64
cpu 8 cores Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
directory /Users/barcode/testrn
JavaScript
node 8.2.1 /usr/local/bin/node
npm 5.3.0 /usr/local/bin/npm
yarn 0.21.3 /Users/barcode/.yarn/bin/yarn
React Native
react-native-cli 1.0.0
Ignite
ignite 2.0.0 /Users/barcode/.node/bin/ignite
Android
java 1.8.0_141 /usr/bin/java
android home - /Users/barcode/Library/Android/sdk
iOS
xcode 7.3.1
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 16 (5 by maintainers)
FWIW, I did run into this issue myself when I tried to name my app with a name that started with a number: “5guys” made my ignite install unhappy
Solved (for my case) I removed the react-native directory from /Users/ffolivi/npm_packages then ignite new app in my workdir
Thank you @skellock !!!
I resolved this issue by upgrade node to 11.8.0 or 10.15.0. If you use nvm:
nvm install 11.8.0If you use n:n 11.8.0Do you have
node_modulesin any of the following places by any chance??