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
npx react-native@latest init AwesomeProject
git init log not auto commit
i can commit the init log manually, project work well.
Steps to reproduce
npx react-native@latest init AwesomeProject or npx react-native@latest init AwesomeProject --verbose
React Native Version
0.73.6
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
OS: Windows 10 10.0.18363
CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
Memory: 8.64 GB / 15.87 GB
Binaries:
Node:
version: 20.11.1
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 4.1.1
path: C:\Program Files\nodejs\yarn.CMD
npm:
version: 10.2.4
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
Android NDK:
Windows SDK:
AllowDevelopmentWithoutDevLicense: Disabled
AllowAllTrustedApps: Enabled
Versions:
- 10.0.18362.0
IDEs:
Android Studio: Not Found
Visual Studio:
- 17.8.34511.84 (Visual Studio Community 2022)
Languages:
Java: 17.0.10
Ruby: 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
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Stacktrace or Logs
npx react-native@latest init AwesomeProject
✖ Could not create an empty Git repository, see debug logs with --verbose
npx react-native@latest init AwesomeProject --verbose
debug Error: Command failed with exit code 128: git branch -M main
error: refname refs/heads/master not found
fatal: Branch rename failed
It seems like this issue is actually unrelated to React Native core but related to the community CLI. Please open this issue against this other repository:
Description
npx react-native@latest init AwesomeProject
git init log not auto commit
i can commit the init log manually, project work well.
Steps to reproduce
npx react-native@latest init AwesomeProject or npx react-native@latest init AwesomeProject --verbose
React Native Version
0.73.6
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
npx react-native@latest init AwesomeProject
Screenshots and Videos
npx react-native@latest init AwesomeProject
npx react-native@latest init AwesomeProject --verbose
The text was updated successfully, but these errors were encountered: