Trying to initiate a fresh project using this command:
npx react-native init AwesomeProject
The project is successfully created, but there seems to be an issue with the bundler.
✖ Installing Bundler
error Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
// Error message continues...
An error occurred while installing ffi (1.15.5), and Bundler cannot continue.
In Gemfile:
cocoapods was resolved to 1.12.1, which depends on
cocoapods-core was resolved to 1.12.1, which depends on
typhoeus was resolved to 1.4.0, which depends on
ethon was resolved to 0.16.0, which depends on
ffi
✖ 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.
Running CLI with --verbose flag may provide more details.
Despite trying to install cocopods gem nodejs and various other commands, as well as referring to documentation, the error persists.