facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
118.37k stars 24.25k forks source link

npx react-native@latest init fails asof 0.72.5 (bigdecimal cannot be installed) #40799

Closed exotexot closed 11 months ago

exotexot commented 11 months ago

Description

When I try to initialise a new project, it fails, because installation of bigdecimal fails.


npx react-native@latest init getmeMobileApp --verbose
debug We couldn't find a package.json in your project. Are you sure you are running it inside a React Native project?
debug Failed to load configuration of your project. Only a subset of commands will be available.
debug Initializing new project

               ######                ######
             ###     ####        ####     ###
            ##          ###    ###          ##
            ##             ####             ##
            ##             ####             ##
            ##           ##    ##           ##
            ##         ###      ###         ##
             ##  ########################  ##
          ######    ###            ###    ######
      ###     ##    ##              ##    ##     ###
   ###         ## ###      ####      ### ##         ###
  ##           ####      ########      ####           ##
 ##             ###     ##########     ###             ##
  ##           ####      ########      ####           ##
   ###         ## ###      ####      ### ##         ###
      ###     ##    ##              ##    ##     ###
          ######    ###            ###    ######
             ##  ########################  ##
            ##         ###      ###         ##
            ##           ##    ##           ##
            ##             ####             ##
            ##             ####             ##
            ##          ###    ###          ##
             ###     ####        ####     ###
               ######                ######

                  Welcome to React Native!
                 Learn once, write anywhere

debug Installing template from react-native@latest
yarn init v1.22.10
warning The yes flag has been set. This will automatically answer yes to all questions, which may have security implications.
success Saved package.json
✨  Done in 0.02s.
yarn add v1.22.10
info No lockfile found.
[1/4] 🔍  Resolving packages...
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro-react-native-babel-transformer > babel-preset-fbjs > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro-react-native-babel-transformer > babel-preset-fbjs > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "react-native > @react-native/codegen@0.72.7" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > use-sync-external-store@1.2.0" has unmet peer dependency "react@^16.8.0 || ^17.0.0 || ^18.0.0".
warning "react-native > react-shallow-renderer@16.15.0" has unmet peer dependency "react@^16.0.0 || ^17.0.0 || ^18.0.0".
warning "react-native > @react-native/codegen > jscodeshift@0.14.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro-react-native-babel-transformer@0.76.8" has unmet peer dependency "@babel/core@*".
warning " > react-native@0.72.5" has unmet peer dependency "react@18.2.0".
[4/4] 🔨  Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.22.19", while you're on "1.22.10".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
success Saved 335 new dependencies.
info Direct dependencies
└─ react-native@0.72.5
info All dependencies
├─ @ampproject/remapping@2.2.1
├─ @babel/code-frame@7.22.13
├─ @babel/compat-data@7.23.2
├─ @babel/helper-compilation-targets@7.22.15
├─ @babel/helper-create-class-features-plugin@7.22.15
├─ @babel/helper-hoist-variables@7.22.5
├─ @babel/helper-remap-async-to-generator@7.22.20
├─ @babel/helper-replace-supers@7.22.20
├─ @babel/helper-string-parser@7.22.5
├─ @babel/helper-wrap-function@7.22.20
├─ @babel/helpers@7.23.2
├─ @babel/highlight@7.22.20
├─ @babel/plugin-proposal-async-generator-functions@7.20.7
├─ @babel/plugin-proposal-class-properties@7.18.6
├─ @babel/plugin-proposal-export-default-from@7.22.17
├─ @babel/plugin-proposal-nullish-coalescing-operator@7.18.6
├─ @babel/plugin-proposal-numeric-separator@7.18.6
├─ @babel/plugin-proposal-object-rest-spread@7.20.7
├─ @babel/plugin-proposal-optional-catch-binding@7.18.6
├─ @babel/plugin-proposal-optional-chaining@7.21.0
├─ @babel/plugin-syntax-async-generators@7.8.4
├─ @babel/plugin-syntax-class-properties@7.12.13
├─ @babel/plugin-syntax-dynamic-import@7.8.3
├─ @babel/plugin-syntax-export-default-from@7.22.5
├─ @babel/plugin-syntax-flow@7.22.5
├─ @babel/plugin-syntax-nullish-coalescing-operator@7.8.3
├─ @babel/plugin-syntax-numeric-separator@7.10.4
├─ @babel/plugin-syntax-object-rest-spread@7.8.3
├─ @babel/plugin-syntax-optional-catch-binding@7.8.3
├─ @babel/plugin-syntax-optional-chaining@7.8.3
├─ @babel/plugin-syntax-typescript@7.22.5
├─ @babel/plugin-transform-async-to-generator@7.22.5
├─ @babel/plugin-transform-block-scoped-functions@7.22.5
├─ @babel/plugin-transform-destructuring@7.23.0
├─ @babel/plugin-transform-flow-strip-types@7.22.5
├─ @babel/plugin-transform-for-of@7.22.15
├─ @babel/plugin-transform-member-expression-literals@7.22.5
├─ @babel/plugin-transform-named-capturing-groups-regex@7.22.5
├─ @babel/plugin-transform-object-super@7.22.5
├─ @babel/plugin-transform-parameters@7.22.15
├─ @babel/plugin-transform-property-literals@7.22.5
├─ @babel/plugin-transform-react-jsx-self@7.22.5
├─ @babel/plugin-transform-react-jsx-source@7.22.5
├─ @babel/plugin-transform-runtime@7.23.2
├─ @babel/plugin-transform-sticky-regex@7.22.5
├─ @babel/plugin-transform-template-literals@7.22.5
├─ @babel/plugin-transform-typescript@7.22.15
├─ @babel/plugin-transform-unicode-regex@7.22.5
├─ @babel/preset-flow@7.22.15
├─ @babel/preset-typescript@7.23.2
├─ @babel/register@7.22.15
├─ @babel/regjsgen@0.8.0
├─ @babel/runtime@7.23.2
├─ @hapi/topo@5.1.0
├─ @jest/create-cache-key-function@29.7.0
├─ @jest/environment@29.7.0
├─ @jridgewell/resolve-uri@3.1.1
├─ @jridgewell/set-array@1.1.2
├─ @jridgewell/source-map@0.3.5
├─ @jridgewell/sourcemap-codec@1.4.15
├─ @react-native-community/cli-clean@11.3.7
├─ @react-native-community/cli-doctor@11.3.7
├─ @react-native-community/cli-hermes@11.3.7
├─ @react-native-community/cli-plugin-metro@11.3.7
├─ @react-native-community/cli-types@11.3.7
├─ @react-native-community/cli@11.3.7
├─ @react-native/assets-registry@0.72.0
├─ @react-native/codegen@0.72.7
├─ @react-native/gradle-plugin@0.72.11
├─ @react-native/js-polyfills@0.72.1
├─ @react-native/normalize-colors@0.72.0
├─ @react-native/virtualized-lists@0.72.8
├─ @sideway/address@4.1.4
├─ @sideway/formula@3.0.1
├─ @sideway/pinpoint@2.0.0
├─ @sinclair/typebox@0.27.8
├─ @sinonjs/commons@3.0.0
├─ @sinonjs/fake-timers@10.3.0
├─ @types/istanbul-lib-report@3.0.1
├─ @types/stack-utils@2.0.1
├─ @types/yargs@17.0.28
├─ abort-controller@3.0.0
├─ accepts@1.3.8
├─ acorn@8.10.0
├─ anser@1.4.10
├─ ansi-fragments@0.2.1
├─ ansi-regex@5.0.1
├─ anymatch@3.1.3
├─ appdirsjs@1.2.7
├─ argparse@1.0.10
├─ asap@2.0.6
├─ ast-types@0.15.2
├─ astral-regex@1.0.0
├─ async-limiter@1.0.1
├─ async@3.2.4
├─ babel-core@7.0.0-bridge.0
├─ babel-plugin-polyfill-corejs2@0.4.6
├─ babel-plugin-polyfill-corejs3@0.8.5
├─ babel-plugin-polyfill-regenerator@0.5.3
├─ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
├─ babel-plugin-transform-flow-enums@0.0.2
├─ balanced-match@1.0.2
├─ base64-js@1.5.1
├─ bl@4.1.0
├─ brace-expansion@1.1.11
├─ braces@3.0.2
├─ browserslist@4.22.1
├─ bser@2.1.1
├─ buffer-from@1.1.2
├─ buffer@5.7.1
├─ bytes@3.0.0
├─ caller-callsite@2.0.0
├─ caller-path@2.0.0
├─ callsites@2.0.0
├─ camelcase@5.3.1
├─ caniuse-lite@1.0.30001547
├─ cli-cursor@3.1.0
├─ cli-spinners@2.9.1
├─ cliui@8.0.1
├─ clone-deep@4.0.1
├─ clone@1.0.4
├─ color-convert@2.0.1
├─ color-name@1.1.4
├─ colorette@1.4.0
├─ command-exists@1.2.9
├─ commander@9.5.0
├─ commondir@1.0.1
├─ compressible@2.0.18
├─ compression@1.7.4
├─ concat-map@0.0.1
├─ convert-source-map@2.0.0
├─ core-js-compat@3.33.0
├─ core-util-is@1.0.3
├─ cosmiconfig@5.2.1
├─ cross-spawn@7.0.3
├─ dayjs@1.11.10
├─ deepmerge@4.3.1
├─ defaults@1.0.4
├─ denodeify@1.2.1
├─ deprecated-react-native-prop-types@4.1.0
├─ destroy@1.2.0
├─ electron-to-chromium@1.4.550
├─ emoji-regex@8.0.0
├─ envinfo@7.10.0
├─ error-ex@1.3.2
├─ error-stack-parser@2.1.4
├─ errorhandler@1.5.1
├─ escape-string-regexp@1.0.5
├─ esprima@4.0.1
├─ etag@1.8.1
├─ event-target-shim@5.0.1
├─ fast-xml-parser@4.3.2
├─ fb-watchman@2.0.2
├─ fill-range@7.0.1
├─ finalhandler@1.1.2
├─ find-cache-dir@2.1.0
├─ flow-enums-runtime@0.0.5
├─ flow-parser@0.206.0
├─ fresh@0.5.2
├─ fs-extra@8.1.0
├─ fs.realpath@1.0.0
├─ fsevents@2.3.3
├─ gensync@1.0.0-beta.2
├─ get-caller-file@2.0.5
├─ get-stream@6.0.1
├─ has@1.0.4
├─ hermes-estree@0.12.0
├─ http-errors@2.0.0
├─ human-signals@2.1.0
├─ ieee754@1.2.1
├─ image-size@1.0.2
├─ import-fresh@2.0.0
├─ imurmurhash@0.1.4
├─ inflight@1.0.6
├─ is-arrayish@0.2.1
├─ is-core-module@2.13.0
├─ is-directory@0.3.1
├─ is-fullwidth-code-point@3.0.0
├─ is-interactive@1.0.0
├─ is-number@7.0.0
├─ is-plain-object@2.0.4
├─ is-stream@2.0.1
├─ is-wsl@1.1.0
├─ isarray@1.0.0
├─ isexe@2.0.0
├─ isobject@3.0.1
├─ jest-environment-node@29.7.0
├─ jest-get-type@29.6.3
├─ jest-message-util@29.7.0
├─ jest-regex-util@27.5.1
├─ jest-validate@29.7.0
├─ js-tokens@4.0.0
├─ js-yaml@3.14.1
├─ jsc-android@250231.0.0
├─ jsc-safe-url@0.2.4
├─ jscodeshift@0.14.0
├─ jsesc@2.5.2
├─ json-parse-better-errors@1.0.2
├─ json5@2.2.3
├─ jsonfile@4.0.0
├─ kleur@3.0.3
├─ leven@3.1.0
├─ locate-path@5.0.0
├─ lodash.debounce@4.0.8
├─ log-symbols@4.1.0
├─ logkitty@0.7.1
├─ loose-envify@1.4.0
├─ lru-cache@6.0.0
├─ make-dir@2.1.0
├─ makeerror@1.0.12
├─ memoize-one@5.2.1
├─ metro-file-map@0.76.8
├─ metro-inspector-proxy@0.76.8
├─ metro-minify-terser@0.76.8
├─ metro-minify-uglify@0.76.8
├─ metro-react-native-babel-transformer@0.76.8
├─ metro-transform-worker@0.76.8
├─ mime-db@1.52.0
├─ mime-types@2.1.35
├─ mime@2.6.0
├─ mimic-fn@2.1.0
├─ minimatch@3.1.2
├─ minimist@1.2.8
├─ mkdirp@0.5.6
├─ ms@2.0.0
├─ negotiator@0.6.3
├─ neo-async@2.6.2
├─ nocache@3.0.4
├─ node-abort-controller@3.1.1
├─ node-dir@0.1.17
├─ node-int64@0.4.0
├─ node-releases@2.0.13
├─ node-stream-zip@1.15.0
├─ normalize-path@3.0.0
├─ npm-run-path@4.0.1
├─ ob1@0.76.8
├─ on-finished@2.4.1
├─ on-headers@1.0.2
├─ onetime@5.1.2
├─ open@6.4.0
├─ p-limit@2.3.0
├─ p-locate@4.1.0
├─ p-try@2.2.0
├─ parse-json@4.0.0
├─ path-is-absolute@1.0.1
├─ path-key@3.1.1
├─ path-parse@1.0.7
├─ picocolors@1.0.0
├─ picomatch@2.3.1
├─ pify@4.0.1
├─ pirates@4.0.6
├─ pkg-dir@3.0.0
├─ pretty-format@26.6.2
├─ process-nextick-args@2.0.1
├─ promise@8.3.0
├─ prop-types@15.8.1
├─ queue@6.0.2
├─ range-parser@1.2.1
├─ react-devtools-core@4.28.4
├─ react-is@18.2.0
├─ react-native@0.72.5
├─ react-shallow-renderer@16.15.0
├─ readable-stream@3.6.2
├─ readline@1.3.0
├─ recast@0.21.5
├─ regenerate-unicode-properties@10.1.1
├─ regenerator-runtime@0.13.11
├─ regexpu-core@5.3.2
├─ regjsparser@0.9.1
├─ require-main-filename@2.0.0
├─ resolve-from@3.0.0
├─ resolve@1.22.8
├─ restore-cursor@3.1.0
├─ safe-buffer@5.1.2
├─ scheduler@0.24.0-canary-efb381bbf-20230505
├─ send@0.18.0
├─ serialize-error@2.1.0
├─ set-blocking@2.0.0
├─ setprototypeof@1.2.0
├─ shallow-clone@3.0.1
├─ shebang-command@2.0.0
├─ shebang-regex@3.0.0
├─ shell-quote@1.8.1
├─ sisteransi@1.0.5
├─ slash@3.0.0
├─ slice-ansi@2.1.0
├─ source-map-support@0.5.21
├─ sprintf-js@1.0.3
├─ stack-utils@2.0.6
├─ stackframe@1.3.4
├─ stacktrace-parser@0.1.10
├─ string_decoder@1.3.0
├─ strip-final-newline@2.0.0
├─ strnum@1.0.5
├─ sudo-prompt@9.2.1
├─ supports-color@7.2.0
├─ supports-preserve-symlinks-flag@1.0.0
├─ temp@0.8.4
├─ terser@5.21.0
├─ throat@5.0.0
├─ through2@2.0.5
├─ tmpl@1.0.5
├─ to-fast-properties@2.0.0
├─ to-regex-range@5.0.1
├─ toidentifier@1.0.1
├─ tr46@0.0.3
├─ type-detect@4.0.8
├─ type-fest@0.7.1
├─ uglify-es@3.3.9
├─ undici-types@5.25.3
├─ unicode-canonical-property-names-ecmascript@2.0.0
├─ unicode-match-property-ecmascript@2.0.0
├─ unicode-match-property-value-ecmascript@2.1.0
├─ unicode-property-aliases-ecmascript@2.1.0
├─ universalify@0.1.2
├─ unpipe@1.0.0
├─ update-browserslist-db@1.0.13
├─ use-sync-external-store@1.2.0
├─ util-deprecate@1.0.2
├─ utils-merge@1.0.1
├─ vary@1.1.2
├─ walker@1.0.8
├─ webidl-conversions@3.0.1
├─ whatwg-fetch@3.6.19
├─ whatwg-url@5.0.0
├─ which-module@2.0.1
├─ which@2.0.2
├─ wrap-ansi@7.0.0
├─ write-file-atomic@2.4.3
├─ xtend@4.0.2
├─ y18n@5.0.8
├─ yallist@4.0.0
├─ yaml@2.3.2
├─ yargs-parser@21.1.1
└─ yocto-queue@0.1.0
✨  Done in 10.84s.
debug Getting config from /var/folders/ch/w__fm7wd251fkxlws9k5vq0r0000gn/T/rncli-init-template-qZaw61/node_modules/react-native/template.config.js
debug Copying template from /var/folders/ch/w__fm7wd251fkxlws9k5vq0r0000gn/T/rncli-init-template-qZaw61/node_modules/react-native/template
debug Changing HelloWorld for getmeMobileApp in template
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/tsconfig.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/tsconfig.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/package.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/package.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/metro.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/metro.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/jest.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/jest.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/_xcode.env
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/_xcode.env
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/_xcode.env -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/.xcode.env
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/Podfile
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/Podfile
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/Info.plist
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/Info.plist
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/HelloWorldTests.m
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/HelloWorldTests.m
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/HelloWorldTests.m -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests/getmeMobileAppTests.m
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorldTests -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/getmeMobileAppTests
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/getmeMobileApp.xcscheme
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/project.pbxproj
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj/project.pbxproj
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld.xcodeproj -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/getmeMobileApp.xcodeproj
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/main.m
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/main.m
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/LaunchScreen.storyboard
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/LaunchScreen.storyboard
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Info.plist
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Info.plist
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Images.xcassets/Contents.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Images.xcassets/Contents.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/AppDelegate.mm
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/AppDelegate.mm
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/AppDelegate.h
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld/AppDelegate.h
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/ios/HelloWorld -> file:/Users/vinzenz/Repositories/getmeMobileApp/ios/getmeMobileApp
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/index.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/index.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/babel.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/babel.config.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/app.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/app.json
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/settings.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/settings.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradlew.bat
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradlew.bat
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradlew
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradlew
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle.properties
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle.properties
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle/wrapper/gradle-wrapper.properties
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle/wrapper/gradle-wrapper.properties
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle/wrapper/gradle-wrapper.jar
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/gradle/wrapper/gradle-wrapper.jar
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/build.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/build.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/release/java/com/helloworld/ReactNativeFlipper.java
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/release/java/com/helloworld/ReactNativeFlipper.java
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/release/java/com/helloworld -> file:/Users/vinzenz/Repositories/getmeMobileApp/android/app/src/release/java/com/getmemobileapp
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/values/styles.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/values/styles.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/values/strings.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/values/strings.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/drawable/rn_edit_text_material.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/res/drawable/rn_edit_text_material.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/helloworld/MainApplication.java
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/helloworld/MainApplication.java
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/helloworld/MainActivity.java
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/helloworld/MainActivity.java
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/helloworld -> file:/Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/java/com/getmemobileapp
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/AndroidManifest.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/main/AndroidManifest.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/java/com/helloworld -> file:/Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/java/com/getmemobileapp
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/AndroidManifest.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/src/debug/AndroidManifest.xml
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/proguard-rules.pro
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/proguard-rules.pro
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/debug.keystore
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/debug.keystore
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/build.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/android/app/build.gradle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_watchmanconfig
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_watchmanconfig
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_watchmanconfig -> file:/Users/vinzenz/Repositories/getmeMobileApp/.watchmanconfig
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_prettierrc.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_prettierrc.js
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_prettierrc.js -> file:/Users/vinzenz/Repositories/getmeMobileApp/.prettierrc.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_gitignore
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_gitignore
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_gitignore -> file:/Users/vinzenz/Repositories/getmeMobileApp/.gitignore
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_eslintrc.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_eslintrc.js
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_eslintrc.js -> file:/Users/vinzenz/Repositories/getmeMobileApp/.eslintrc.js
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_bundle/config
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/_bundle/config
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_bundle/config -> file:/Users/vinzenz/Repositories/getmeMobileApp/_bundle/config
debug Renaming /Users/vinzenz/Repositories/getmeMobileApp/_bundle -> file:/Users/vinzenz/Repositories/getmeMobileApp/.bundle
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/__tests__/App.test.tsx
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/__tests__/App.test.tsx
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/README.md
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/README.md
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/Gemfile
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/Gemfile
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/App.tsx
debug Replacing in /Users/vinzenz/Repositories/getmeMobileApp/App.tsx
yarn install v1.22.10
info No lockfile found.
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native/codegen > jscodeshift > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro-react-native-babel-transformer > babel-preset-fbjs > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-nullish-coalescing-operator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-optional-chaining@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro-react-native-babel-transformer > babel-preset-fbjs > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-async-generator-functions@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-numeric-separator@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-react-native-babel-preset > @babel/plugin-proposal-optional-catch-binding@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
warning react-native > @react-native-community/cli > @react-native-community/cli-plugin-metro > metro > metro-minify-uglify > uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
[3/5] 🚚  Fetching packages...
[4/5] 🔗  Linking dependencies...
[5/5] 🔨  Building fresh packages...
success Saved lockfile.
✨  Done in 23.54s.
error Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/Users/vinzenz/Repositories/getmeMobileApp/vendor/bundle/ruby/2.7.0/gems/bigdecimal-3.1.4/ext/bigdecimal
/Users/vinzenz/.rbenv/versions/2.7.6/bin/ruby -I
/Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0 -r
./siteconf20231011-41794-1s3oc7t.rb extconf.rb
checking for __builtin_clz()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/Users/vinzenz/.rbenv/versions/2.7.6/bin/$(RUBY_BASE_NAME)
/Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:471:in `try_do': The
compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:597:in `block
in try_compile'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:546:in
`with_werror'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:597:in
`try_compile'
    from extconf.rb:6:in `block in have_builtin_func'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:971:in `block
in checking_for'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:361:in `block
(2 levels) in postpone'
    from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:331:in `open'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:361:in `block
in postpone'
    from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:331:in `open'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:357:in
`postpone'
from /Users/vinzenz/.rbenv/versions/2.7.6/lib/ruby/2.7.0/mkmf.rb:970:in
`checking_for'
    from extconf.rb:5:in `have_builtin_func'
    from extconf.rb:18:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

/Users/vinzenz/Repositories/getmeMobileApp/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-22/2.7.0/bigdecimal-3.1.4/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/Users/vinzenz/Repositories/getmeMobileApp/vendor/bundle/ruby/2.7.0/gems/bigdecimal-3.1.4
for inspection.
Results logged to
/Users/vinzenz/Repositories/getmeMobileApp/vendor/bundle/ruby/2.7.0/extensions/x86_64-darwin-22/2.7.0/bigdecimal-3.1.4/gem_make.out

An error occurred while installing bigdecimal (3.1.4), and Bundler cannot
continue.
Make sure that `gem install bigdecimal -v '3.1.4' --source
'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  cocoapods was resolved to 1.13.0, which depends on
    cocoapods-core was resolved to 1.13.0, which depends on
      activesupport was resolved to 7.1.0, which depends on
        bigdecimal
error Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/environment-setup?os=macos&platform=android and follow the React Native CLI QuickStart guide for macOS and iOS.

React Native Version

0.72.5

Output of npx react-native info

info Fetching system and libraries information... System: OS: macOS 14.0 CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz Memory: 2.57 GB / 32.00 GB Shell: version: 3.6.1 path: /usr/local/bin/fish Binaries: Node: version: 18.1.0 path: ~/.nvm/versions/node/v18.1.0/bin/node Yarn: version: 1.22.10 path: /usr/local/bin/yarn npm: version: 8.8.0 path: ~/.nvm/versions/node/v18.1.0/bin/npm Watchman: version: 2023.07.10.00 path: /usr/local/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Not Found Android SDK: Android NDK: 22.1.7171670 IDEs: Android Studio: 2022.3 AI-223.8836.35.2231.10811636 Xcode: version: 15.0/15A240d path: /usr/bin/xcodebuild Languages: Java: version: 11.0.17 path: /Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home/bin/javac Ruby: version: 2.7.6 path: /Users/vinzenz/.rbenv/shims/ruby npmPackages: "@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.72.5 wanted: 0.72.5 react-native-macos: Not Found npmGlobalPackages: "react-native": Not Found Android: hermesEnabled: true newArchEnabled: false iOS: hermesEnabled: Not found newArchEnabled: Not found

Steps to reproduce

npx react-native@latest init myApp

Snack, screenshot, or link to a repository

Can't.

github-actions[bot] commented 11 months ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
exotexot commented 11 months ago

Actually, I think this issue may just be related to macOS Sonoma, because not just rn 0.72.5 is affect but also lower versions...

In the meantime I realised I didn't launched, and agreed to the latest Xcode Terms, so I had to do that. And I also updated to the latest ruby version, As I wasn't sure if ruby got messed up, because on the previous macOS version I installed rbenv to manage ruby versions...

Still crashing though with other problems now:

✔ Installing Ruby Gems
✖ Installing CocoaPods dependencies (this may take a few minutes)
error bundler: failed to load command: pod (/Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/bin/pod)
/Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:108:in `<class:Array>': undefined method `deprecator' for ActiveSupport:Module (NoMethodError)

  deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
                                                          ^^^^^^^^^^^
Did you mean?  deprecate_constant
    from /Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.0/lib/active_support/core_ext/array/conversions.rb:8:in `<top (required)>'
    from <internal:/Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.13.0/lib/cocoapods.rb:9:in `<top (required)>'
    from <internal:/Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from <internal:/Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
    from /Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/gems/cocoapods-1.13.0/bin/pod:36:in `<top (required)>'
    from /Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/bin/pod:25:in `load'
    from /Users/vinzenz/Repositories/test0724123/vendor/bundle/ruby/3.2.0/bin/pod:25:in `<top (required)>'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli.rb:491:in `exec'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/cli.rb:28:in `start'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/libexec/bundle:45:in `block in <top (required)>'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
    from /Users/vinzenz/.rbenv/versions/3.2.1/lib/ruby/gems/3.2.0/gems/bundler-2.4.6/libexec/bundle:33:in `<top (required)>'
    from /Users/vinzenz/.rbenv/versions/3.2.1/bin/bundle:25:in `load'
    from /Users/vinzenz/.rbenv/versions/3.2.1/bin/bundle:25:in `<main>'
✖ Installing CocoaPods dependencies (this may take a few minutes)
error Looks like your iOS environment is not properly set. Please go to https://reactnative.dev/docs/environment-setup?os=macos&platform=android and follow the React Native CLI QuickStart guide for macOS and iOS.
info Run CLI with --verbose flag for more details.
wanhuihan commented 11 months ago

@exotexot the same condition happened in my mac m1, trying to find the solution

kelset commented 11 months ago

I'm having the exact same issue.

Apparently it's fixed by https://github.com/facebook/react-native/commit/ce39931bc2b02f13cbc5751ba4d4a6dbc07bc91a by @cipolleschi but is not in a patch?

cipolleschi commented 11 months ago

Duplicated of #39832

As Kelset said, it is fixed in main, we are doing releases to make React Native working again.