-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
0.69.0 can not init new project #34076
Comments
You can use --version 0.68.2. [ react-native init MyProject --version 0.68.2 ] |
npm remove -g react-native react-native-cli npx react-native init AwesomeProjectName |
not ok. |
yes 0.68.2 is ok. close this. |
I had this issue with react-native@0.71.8 too. Removed global Both did not work, then I looked at the RN documentation that says this.
So I tried
and it worked. Hope it helps someone. |
Description
when I create a new project with 0.69.0.
There is the error. but 0.68.2 is ok.
node version 16.15.1,14.19.3 all is failed.
Version
0.69.0
Output of
npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.4
CPU: (4) x64 Intel(R) Core(TM) i5-7287U CPU @ 3.30GHz
Memory: 485.27 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.18 - ~/.yarn/bin/yarn
npm: 8.13.1 - /usr/local/bin/npm
Watchman: 2022.06.20.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8193401
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 17.0.3 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: 0.69.0 => 0.69.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
npx react-native init smart
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: