-
Notifications
You must be signed in to change notification settings - Fork 24.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
Unable to create new RN 0.72 project with Node 16 #38298
Labels
Comments
|
Sorry, this does not appear to repro with |
|
Yes, this was fixed in 0.72.2. It was fixed by the removal of |
upgrade node version to 18. so i solved |
Closed
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
RN 0.72 requires Node >=16. However it looks like the dependencies of the init command (metro-config) were updated to require Node 18 as RN > 0.72 will require Node 18.
Error:
React Native Version
0.72.0
Output of
npx react-native info
info Fetching system and libraries information...
System:
OS: Windows 10 10.0.25393
CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
Memory: 3.31 GB / 15.84 GB
Binaries:
Node: 16.18.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions: 10.0.16299.0, 10.0.18362.0, 10.0.19041.0, 10.0.22000.0, 10.0.22621.0
IDEs:
Android Studio: Not Found
Visual Studio: 16.11.33801.447 (Visual Studio Enterprise 2019), 17.6.33801.468 (Visual Studio Enterprise 2022)
Languages:
Java: Not Found
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
Run
npx --yes react-native init testcli --template react-native@^0.72.0
.Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: