Closed yuanyixiaomei closed 1 year ago
有使用代理吗
有用的公司的电脑,公司的网络是一直有代理的
npx react-native init tempProject --skip-install
cd tempProject
yarn install
cd ios
bundle install
bundle exec pod install
It works for me !!! It should be that my company's computer blocked access to GitHub when it encountered the git hub URL.
-When I configure the environment and run the following command
npx react-native init AwesomeProject
In Gemfile: cocoapods was resolved to 1.11.3, which depends on cocoapods-core was resolved to 1.11.3, which depends on algoliasearch was resolved to 1.27.5, which depends on json
✖ Installing Bundler error Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS. Error: Error: Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS. at createFromTemplate (/opt/homebrew/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/init/init.js:129:11) at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Object.initialize [as func] (/opt/homebrew/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/commands/init/init.js:181:3)
at async Command.handleAction (/opt/homebrew/lib/node_modules/react-native/node_modules/@react-native-community/cli/build/index.js:106:9)
info Run CLI with --verbose flag for more details.