-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update getting started documentation to recommend 0.61 instead of 0.60 #4436
Comments
Also, as we're building up a release checklist, this should be on the list. |
While we are updating the instructions, I've streamlined the init process: OLD: npx react-native init <myproject> --version 0.61.5
cd <myproject>
yarn add rpnm-react-native-windows
npx react-native windows NEW: npx react-native init <myproject> --version 0.61.5
cd <myproject>
npx react-native-windows-init |
I don't think the hat in Though also I think specific versions are safer since patch releases might still break us. |
yeah, the CLI doesn't support ranges, you have to specify a specific version, so it should be 0.61.5 |
@chrisglein can you log these types of issues over on the samples/website repo in the future? That would help me a lot 😅 Edit: Also, what's our Beta version now if that's still a thing? |
(added the |
I thought we were concerned at one point that patch releases could still break us. Is this not the case? |
I think its ok to default to taking patch fixes. And if they break we'll find out. Otherwise no-one will tell us. |
Hello acoates-ms I am getting this error while executing this below commandsnpx react-native init react_native_windows_todo --version 0.61.5 Environment
Steps to Reproduce(Write your steps here:)
Expected BehaviorThe expecting project has to create and run successfully. Actual BehaviorBut, getting an error while creating a project react-native-windows@0.61.3 successfully installed.
|
@chrisglein this issue is fixed, however we have an issue from someone around trying to execute the commands. Should we close this? @acoates-ms have you gotten a chance to take a look at the issue @tejaat1995 commented? |
@tejaat1995 this is caused by a stale version of react-native installed globally on your machine. please uninstall your global copy of react-native. Or update it.
|
@kikisaints we should probably document this error, since the old recommendation of installing react native globally will have left many people with stale bits on their machine - and is why it's no longer recommended. |
I've added an issue on the samples repo to capture that troubleshooting tip: |
These docs: https://microsoft.github.io/react-native-windows/docs/getting-started
Should update from this:
to instead point to 0.61, now that it's out of beta.
The text was updated successfully, but these errors were encountered: