You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26100
CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores "
Memory: 54.54 GB / 63.86 GB
Binaries:
Node:
version: 18.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 3.6.4
path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm:
version: 9.8.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.19041.0
- 10.0.22621.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.12.35309.182 (Visual Studio Enterprise 2022)
- 17.11.35312.102 (Visual Studio Enterprise 2022)
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 14.0.0-alpha.11
wanted: 14.0.0-alpha.11
react:
installed: 19.0.0-rc-fb9a90fa48-20240614
wanted: 19.0.0-rc-fb9a90fa48-20240614
react-native:
installed: 0.77.0-nightly-20240918-bebd6531b
wanted: nightly
react-native-windows:
installed: 0.0.0-canary.868
wanted: 0.0.0-canary.868
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Description
I need to be able to create a new project with a specific (nightly) RN version. If I call @react-native-community/cli init with a particular version of RN, I expect the project to use that particular version.
This worked fine before the changes from needing to call @react-native-community/cli instead of react-native and the template being moved into it's own package.
Regarding CLI version I just created a bump Pull Request inside template repo, so nightlies will pull correct version: react-native-community/template#58 👍
Regarding nightly version - @blakef, could you please jump in here? 🙏
Environment
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26100
CPU: "(24) x64 AMD Ryzen Threadripper PRO 3945WX 12-Cores "
Memory: 54.54 GB / 63.86 GB
Binaries:
Node:
version: 18.18.0
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 3.6.4
path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm:
version: 9.8.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.19041.0
- 10.0.22621.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.12.35309.182 (Visual Studio Enterprise 2022)
- 17.11.35312.102 (Visual Studio Enterprise 2022)
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 14.0.0-alpha.11
wanted: 14.0.0-alpha.11
react:
installed: 19.0.0-rc-fb9a90fa48-20240614
wanted: 19.0.0-rc-fb9a90fa48-20240614
react-native:
installed: 0.77.0-nightly-20240918-bebd6531b
wanted: nightly
react-native-windows:
installed: 0.0.0-canary.868
wanted: 0.0.0-canary.868
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Description
I need to be able to create a new project with a specific (nightly) RN version. If I call
@react-native-community/cli init
with a particular version of RN, I expect the project to use that particular version.This worked fine before the changes from needing to call
@react-native-community/cli
instead ofreact-native
and the template being moved into it's own package.Reproducible Demo
Run
npx --yes @react-native-community/cli@latest init testcsapp --version 0.76.0-nightly-20240901-305b4357e --verbose --skip-install --install-pods false --skip-git-init true
Check
package.json
, seenightly
versions and incorrect CLI dependencies everywhere.Actual:
Expected:
The text was updated successfully, but these errors were encountered: