-
Notifications
You must be signed in to change notification settings - Fork 915
npx react-native init AwesomeProject --version 0.57.3 doesnt work on ubuntu with nvm #1200
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
Comments
I have the same bug with |
You could try an If you're starting a new project I wouldn't recommend using a version of RN that's over two years old but I'm guessing you have a good reason for needing the old one rather than a current one. |
@liamjones Without setting version, on newest RN and cli it still fails with the same error. See this comment react-native-community/react-native-template-typescript#230 (comment) |
@likern It's working fine here: Maybe take a look in the temp directory mentioned in your screenshot (if it still exists) and see if there's anything in there which might highlight why it's not working on your machine? Maybe something to do with node version? My test which just worked was on 17.0.1 if that helps. |
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
I have run the following
npx react-native init AwesomeProject --version 0.57.3
and I get the following output
Without the version number it runs fine. I have tried just 0.57, 0.58, and 0.59 with the same result.
I never installed react native cli, just used npx. I am using nvm as my node version manager, and I am running node v12.18.0
Not sure how to solve this.
Thanks
The text was updated successfully, but these errors were encountered: