-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarnpkg add --dev --exact react-native-scripts failed #61
Comments
For those of you running Node 7.7.0, please upgrade to 7.7.2 and this will be resolved. See nodejs/node#11628 |
Hi, After updating my node version to 7.7.2. I'm still experiencing the same error. Not sure if it's any use but I already tried 'npm cache clean' and 'yarn cache clean'. Any idea what might be the cause would help, thanks. yarn version: 0.21.3 |
@ganjahnavarro I'm looking into this this morning, I think that there was a behavioral change in yarn that I must have missed in my testing. I'm hoping to have a release out later today which resolves the issue. |
Hey @ganjahnavarro, Make sure you're actually using If you've been using yarn, you might have some luck re-linking your global packages using something like this (easiest way): https://github.com/bradley-curran/fix-yarn-global-packages |
I'd also recommend trying |
I already tried By the way, I tried uninstalling yarn temporarily to force the creation of project to use npm instead of yarn and then it works. So it is surely a yarn issue. Thanks a lot! |
Excellent! Glad it worked for you. I need to force yarn to treat optional dependencies as OK to fail. |
I am still facing this issue, is uninstalling yarn the only option? |
This issue is pretty old so the root cause might be different. If you don't want to debug & diagnose it, you could try expo-cli (https://blog.expo.io/announcing-expo-dev-tools-beta-c252cbeccb36) and seeing if that works better for you. |
yarn global add create-react-native-app
create-react-native-app funstuff
node 7.7.0
The text was updated successfully, but these errors were encountered: