Closed machao196 closed 11 months ago
截图如下:
OS: macOS 13.0.1 CPU: (8) arm64 Apple M1 Memory: 71.14 MB / 16.00 GB Shell: version: 5.8.1 path: /bin/zsh Binaries: Node: version: 20.8.1 path: /opt/homebrew/bin/node Yarn: version: 1.22.17 path: /opt/homebrew/bin/yarn npm: version: 10.1.0 path: /opt/homebrew/bin/npm Watchman: version: 2023.11.27.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.14.3 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: - DriverKit 22.4 - iOS 16.4 - macOS 13.3 - tvOS 16.4 - watchOS 9.4 Android SDK: API Levels: - "28" - "29" - "30" - "31" - "32" - "33" Build Tools: - 28.0.3 - 30.0.2 - 30.0.3 - 32.0.0 - 32.1.0 - 33.0.0 - 33.0.0 - 33.0.1 System Images: - android-31 | Google APIs ARM 64 v8a - android-33 | Google APIs ARM 64 v8a Android NDK: Not Found IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.10811636 Xcode: version: 14.3.1/14E300c path: /usr/bin/xcodebuild Languages: Java: version: 11.0.9.1 path: /usr/bin/javac Ruby: version: 3.2.2 path: /Users/machao/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.7 wanted: 0.72.7 react-native-macos: Not Found npmGlobalPackages: "*react-native*": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: Not found
网络应该是没问题的,单独git clone https://github.com/facebook/folly.git 是很快可以克隆下来的。 执行 npx react-native start android 可以正常跑起来 ios 跑不起来。现在需要把ios跑起来,还请大神帮忙看看什么问题
但截图仍然是网络问题
谢谢回复,确实是网络问题,命令行没有翻墙
执行 npx react-native@latest init iotest 失败
截图如下:
执行 npx react-native info
网络应该是没问题的,单独git clone https://github.com/facebook/folly.git 是很快可以克隆下来的。 执行 npx react-native start android 可以正常跑起来 ios 跑不起来。现在需要把ios跑起来,还请大神帮忙看看什么问题