Closed HaloWang closed 1 year ago
β Watchman - Used for watching changes in the filesystem when in development mode
- Version found: 2022.03.21.00
- Version supported: 4.x
I think this message in doctor command also need to be upgraded
Maybe we should check cocoapods installation in react-native doctor
rather than project initialization?
Oops, even worse, doctor
said cocopods is installed π«
having same issue. possibly related to https://github.com/react-native-community/cli/issues/1649
β Project-ios git:(master) β npx react-native init ProjectMobile --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.13.0
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.01s.
yarn add v1.13.0
info No lockfile found.
[1/4] π Resolving packages...
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-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.70.3" has unmet peer dependency "@babel/core@*".
warning "react-native > react-shallow-renderer@16.14.1" has unmet peer dependency "react@^16.0.0 || ^17.0.0".
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-native-codegen > jscodeshift@0.13.1" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native@0.69.1" has unmet peer dependency "react@18.0.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.13.0".
info To upgrade, run the following command:
$ brew upgrade yarn
success Saved 374 new dependencies.
info Direct dependencies
ββ react-native@0.69.1
info All dependencies
ββ @ampproject/remapping@2.2.0
ββ @babel/compat-data@7.18.8
ββ @babel/helper-builder-binary-assignment-operator-visitor@7.18.6
ββ @babel/helper-compilation-targets@7.18.6
ββ @babel/helper-explode-assignable-expression@7.18.6
ββ @babel/helper-hoist-variables@7.18.6
ββ @babel/helper-module-imports@7.18.6
ββ @babel/helper-plugin-utils@7.18.6
ββ @babel/helper-wrap-function@7.18.6
ββ @babel/helpers@7.18.6
ββ @babel/highlight@7.18.6
ββ @babel/plugin-proposal-async-generator-functions@7.18.6
ββ @babel/plugin-proposal-class-properties@7.18.6
ββ @babel/plugin-proposal-export-default-from@7.18.6
ββ @babel/plugin-proposal-nullish-coalescing-operator@7.18.6
ββ @babel/plugin-proposal-optional-catch-binding@7.18.6
ββ @babel/plugin-proposal-optional-chaining@7.18.6
ββ @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.18.6
ββ @babel/plugin-syntax-flow@7.18.6
ββ @babel/plugin-syntax-jsx@7.18.6
ββ @babel/plugin-syntax-nullish-coalescing-operator@7.8.3
ββ @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.18.6
ββ @babel/plugin-transform-async-to-generator@7.18.6
ββ @babel/plugin-transform-block-scoped-functions@7.18.6
ββ @babel/plugin-transform-exponentiation-operator@7.18.6
ββ @babel/plugin-transform-flow-strip-types@7.18.6
ββ @babel/plugin-transform-for-of@7.18.8
ββ @babel/plugin-transform-member-expression-literals@7.18.6
ββ @babel/plugin-transform-modules-commonjs@7.18.6
ββ @babel/plugin-transform-named-capturing-groups-regex@7.18.6
ββ @babel/plugin-transform-object-super@7.18.6
ββ @babel/plugin-transform-parameters@7.18.8
ββ @babel/plugin-transform-property-literals@7.18.6
ββ @babel/plugin-transform-react-jsx-self@7.18.6
ββ @babel/plugin-transform-react-jsx-source@7.18.6
ββ @babel/plugin-transform-runtime@7.18.6
ββ @babel/plugin-transform-sticky-regex@7.18.6
ββ @babel/plugin-transform-typescript@7.18.8
ββ @babel/plugin-transform-unicode-regex@7.18.6
ββ @babel/preset-flow@7.18.6
ββ @babel/preset-typescript@7.18.6
ββ @babel/register@7.18.6
ββ @babel/runtime@7.18.6
ββ @babel/traverse@7.18.8
ββ @hapi/topo@5.1.0
ββ @jest/create-cache-key-function@27.5.1
ββ @jridgewell/gen-mapping@0.1.1
ββ @jridgewell/resolve-uri@3.1.0
ββ @jridgewell/set-array@1.1.2
ββ @react-native-community/cli-clean@8.0.0
ββ @react-native-community/cli-doctor@8.0.3
ββ @react-native-community/cli-hermes@8.0.2
ββ @react-native-community/cli-platform-android@8.0.2
ββ @react-native-community/cli-platform-ios@8.0.2
ββ @react-native-community/cli-plugin-metro@8.0.0
ββ @react-native-community/cli-types@8.0.0
ββ @react-native-community/cli@8.0.3
ββ @react-native/assets@1.0.0
ββ @react-native/normalize-color@2.0.0
ββ @react-native/polyfills@2.0.0
ββ @sideway/address@4.1.4
ββ @sideway/formula@3.0.0
ββ @sideway/pinpoint@2.0.0
ββ @types/graceful-fs@4.1.5
ββ @types/istanbul-lib-coverage@2.0.4
ββ @types/istanbul-lib-report@3.0.0
ββ @types/yargs@16.0.4
ββ abort-controller@3.0.0
ββ accepts@1.3.8
ββ anser@1.4.10
ββ ansi-fragments@0.2.1
ββ ansi-regex@5.0.1
ββ anymatch@3.1.2
ββ appdirsjs@1.2.7
ββ argparse@1.0.10
ββ arr-flatten@1.1.0
ββ asap@2.0.6
ββ assign-symbols@1.0.0
ββ ast-types@0.14.2
ββ astral-regex@1.0.0
ββ async-limiter@1.0.1
ββ async@3.2.4
ββ atob@2.1.2
ββ babel-core@7.0.0-bridge.0
ββ babel-plugin-dynamic-import-node@2.3.3
ββ babel-plugin-polyfill-corejs2@0.3.1
ββ babel-plugin-polyfill-corejs3@0.5.2
ββ babel-plugin-polyfill-regenerator@0.3.1
ββ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
ββ balanced-match@1.0.2
ββ base@0.11.2
ββ base64-js@1.5.1
ββ bl@4.1.0
ββ brace-expansion@1.1.11
ββ braces@2.3.2
ββ browserslist@4.21.1
ββ bser@2.1.1
ββ buffer-from@1.1.2
ββ buffer@5.7.1
ββ bytes@3.0.0
ββ cache-base@1.0.1
ββ call-bind@1.0.2
ββ caller-callsite@2.0.0
ββ caller-path@2.0.0
ββ callsites@2.0.0
ββ camelcase@5.3.1
ββ caniuse-lite@1.0.30001366
ββ ci-info@2.0.0
ββ class-utils@0.3.6
ββ cli-cursor@3.1.0
ββ cli-spinners@2.6.1
ββ cliui@6.0.0
ββ clone-deep@4.0.1
ββ clone@1.0.4
ββ collection-visit@1.0.0
ββ color-convert@2.0.1
ββ color-name@1.1.4
ββ colorette@1.4.0
ββ command-exists@1.2.9
ββ commander@2.20.3
ββ commondir@1.0.1
ββ compressible@2.0.18
ββ compression@1.7.4
ββ concat-map@0.0.1
ββ convert-source-map@1.8.0
ββ copy-descriptor@0.1.1
ββ core-js-compat@3.23.4
ββ core-util-is@1.0.3
ββ cosmiconfig@5.2.1
ββ cross-spawn@6.0.5
ββ dayjs@1.11.3
ββ debug@2.6.9
ββ decode-uri-component@0.2.0
ββ deepmerge@3.3.0
ββ defaults@1.0.3
ββ define-properties@1.1.4
ββ denodeify@1.2.1
ββ destroy@1.2.0
ββ electron-to-chromium@1.4.188
ββ emoji-regex@8.0.0
ββ end-of-stream@1.4.4
ββ envinfo@7.8.1
ββ error-ex@1.3.2
ββ error-stack-parser@2.1.4
ββ errorhandler@1.5.1
ββ escalade@3.1.1
ββ escape-string-regexp@1.0.5
ββ esprima@4.0.1
ββ etag@1.8.1
ββ event-target-shim@5.0.1
ββ expand-brackets@2.1.4
ββ extglob@2.0.4
ββ fb-watchman@2.0.1
ββ fill-range@4.0.0
ββ finalhandler@1.1.2
ββ find-cache-dir@2.1.0
ββ flow-parser@0.121.0
ββ for-in@1.0.2
ββ fresh@0.5.2
ββ fs.realpath@1.0.0
ββ fsevents@2.3.2
ββ gensync@1.0.0-beta.2
ββ get-caller-file@2.0.5
ββ get-intrinsic@1.1.2
ββ get-stream@4.1.0
ββ get-value@2.0.6
ββ has-property-descriptors@1.0.0
ββ has-symbols@1.0.3
ββ has-value@1.0.0
ββ has-values@1.0.0
ββ hermes-engine@0.11.0
ββ hermes-estree@0.6.0
ββ http-errors@2.0.0
ββ ieee754@1.2.1
ββ image-size@0.6.3
ββ import-fresh@2.0.0
ββ imurmurhash@0.1.4
ββ inflight@1.0.6
ββ inherits@2.0.4
ββ is-accessor-descriptor@1.0.0
ββ is-arrayish@0.2.1
ββ is-core-module@2.9.0
ββ is-data-descriptor@1.0.0
ββ is-descriptor@1.0.2
ββ is-directory@0.3.1
ββ is-fullwidth-code-point@2.0.0
ββ is-interactive@1.0.0
ββ is-plain-object@2.0.4
ββ is-stream@1.1.0
ββ is-windows@1.0.2
ββ is-wsl@1.1.0
ββ isarray@1.0.0
ββ isexe@2.0.0
ββ jest-get-type@26.3.0
ββ jest-regex-util@27.5.1
ββ jest-serializer@27.5.1
ββ jest-util@27.5.1
ββ jest-validate@26.6.2
ββ jest-worker@27.5.1
ββ jetifier@1.6.8
ββ js-tokens@4.0.0
ββ jsc-android@250230.2.1
ββ jscodeshift@0.13.1
ββ jsesc@2.5.2
ββ json-parse-better-errors@1.0.2
ββ json5@2.2.1
ββ jsonfile@4.0.0
ββ klaw@1.3.1
ββ kleur@3.0.3
ββ locate-path@5.0.0
ββ lodash.debounce@4.0.8
ββ log-symbols@4.1.0
ββ logkitty@0.7.1
ββ loose-envify@1.4.0
ββ make-dir@2.1.0
ββ makeerror@1.0.12
ββ map-visit@1.0.0
ββ memoize-one@5.2.1
ββ merge-stream@2.0.0
ββ metro-config@0.70.3
ββ metro-inspector-proxy@0.70.3
ββ metro-minify-uglify@0.70.3
ββ metro-react-native-babel-transformer@0.70.3
ββ metro-transform-worker@0.70.3
ββ micromatch@3.1.10
ββ 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.6
ββ mixin-deep@1.3.2
ββ mkdirp@0.5.6
ββ ms@2.0.0
ββ nanomatch@1.2.13
ββ negotiator@0.6.3
ββ neo-async@2.6.2
ββ nice-try@1.0.5
ββ nocache@3.0.4
ββ node-dir@0.1.17
ββ node-fetch@2.6.7
ββ node-int64@0.4.0
ββ node-releases@2.0.6
ββ node-stream-zip@1.15.0
ββ normalize-path@3.0.0
ββ npm-run-path@2.0.2
ββ ob1@0.70.3
ββ object-assign@4.1.1
ββ object-copy@0.1.0
ββ object.assign@4.1.2
ββ on-finished@2.4.1
ββ on-headers@1.0.2
ββ once@1.4.0
ββ onetime@5.1.2
ββ open@6.4.0
ββ os-tmpdir@1.0.2
ββ p-finally@1.0.0
ββ p-limit@2.3.0
ββ p-locate@4.1.0
ββ p-try@2.2.0
ββ parse-json@4.0.0
ββ pascalcase@0.1.1
ββ path-exists@4.0.0
ββ path-is-absolute@1.0.1
ββ path-key@2.0.1
ββ path-parse@1.0.7
ββ picocolors@1.0.0
ββ picomatch@2.3.1
ββ pify@4.0.1
ββ pirates@4.0.5
ββ pkg-dir@3.0.0
ββ plist@3.0.6
ββ posix-character-classes@0.1.1
ββ process-nextick-args@2.0.1
ββ promise@8.1.0
ββ pump@3.0.0
ββ range-parser@1.2.1
ββ react-devtools-core@4.24.0
ββ react-is@17.0.2
ββ react-native-codegen@0.69.1
ββ react-native-gradle-plugin@0.0.7
ββ react-native@0.69.1
ββ react-shallow-renderer@16.14.1
ββ readable-stream@3.6.0
ββ readline@1.3.0
ββ recast@0.20.5
ββ regenerate-unicode-properties@10.0.1
ββ regenerator-runtime@0.13.9
ββ regexpu-core@5.1.0
ββ regjsgen@0.6.0
ββ regjsparser@0.8.4
ββ repeat-element@1.1.4
ββ require-directory@2.1.1
ββ require-main-filename@2.0.0
ββ resolve-from@3.0.0
ββ resolve-url@0.2.1
ββ resolve@1.22.1
ββ restore-cursor@3.1.0
ββ ret@0.1.15
ββ safe-buffer@5.1.2
ββ scheduler@0.21.0
ββ semver@6.3.0
ββ send@0.18.0
ββ serialize-error@2.1.0
ββ set-blocking@2.0.0
ββ set-value@2.0.1
ββ setprototypeof@1.2.0
ββ shallow-clone@3.0.1
ββ shebang-command@1.2.0
ββ shebang-regex@1.0.0
ββ shell-quote@1.7.3
ββ sisteransi@1.0.5
ββ slash@3.0.0
ββ slice-ansi@2.1.0
ββ snapdragon-node@2.1.1
ββ snapdragon-util@3.0.1
ββ source-map-resolve@0.5.3
ββ source-map-support@0.5.21
ββ source-map-url@0.4.1
ββ split-string@3.1.0
ββ sprintf-js@1.0.3
ββ stackframe@1.3.4
ββ stacktrace-parser@0.1.10
ββ static-extend@0.1.2
ββ string_decoder@1.3.0
ββ string-width@4.2.3
ββ strip-eof@1.0.0
ββ sudo-prompt@9.2.1
ββ supports-color@7.2.0
ββ supports-preserve-symlinks-flag@1.0.0
ββ temp@0.8.4
ββ throat@5.0.0
ββ through2@2.0.5
ββ tmpl@1.0.5
ββ to-fast-properties@2.0.0
ββ to-object-path@0.3.0
ββ to-regex-range@2.1.1
ββ toidentifier@1.0.1
ββ tr46@0.0.3
ββ type-fest@0.7.1
ββ uglify-es@3.3.9
ββ unicode-canonical-property-names-ecmascript@2.0.0
ββ unicode-match-property-ecmascript@2.0.0
ββ unicode-match-property-value-ecmascript@2.0.0
ββ unicode-property-aliases-ecmascript@2.0.0
ββ union-value@1.0.1
ββ universalify@0.1.2
ββ unpipe@1.0.0
ββ unset-value@1.0.0
ββ update-browserslist-db@1.0.4
ββ urix@0.1.0
ββ use-sync-external-store@1.2.0
ββ use@3.1.1
ββ 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.2
ββ whatwg-url@5.0.0
ββ which-module@2.0.0
ββ which@1.3.1
ββ wrap-ansi@6.2.0
ββ write-file-atomic@2.4.3
ββ xmlbuilder@15.1.1
ββ xtend@4.0.2
ββ y18n@4.0.3
ββ yargs-parser@18.1.3
β¨ Done in 11.63s.
debug Getting config from /var/folders/h5/1tk8s__n2cv85msg3gzzp4cr0000gn/T/rncli-init-template-LVCpIz/node_modules/react-native/template.config.js
debug Copying template from /var/folders/h5/1tk8s__n2cv85msg3gzzp4cr0000gn/T/rncli-init-template-LVCpIz/node_modules/react-native/template
debug Changing HelloWorld for ProjectMobile in template
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/package.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/package.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/metro.config.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/metro.config.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/_xcode.env
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/_xcode.env
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/_xcode.env -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/.xcode.env
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/Podfile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/Podfile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/Info.plist
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/Info.plist
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/HelloWorldTests.m
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/HelloWorldTests.m
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/HelloWorldTests.m -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests/ProjectMobileTests.m
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorldTests -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/ProjectMobileTests
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld.xcscheme -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/ProjectMobile.xcscheme
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/project.pbxproj
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj/project.pbxproj
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld.xcodeproj -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/ProjectMobile.xcodeproj
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/main.m
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/main.m
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/LaunchScreen.storyboard
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/LaunchScreen.storyboard
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Info.plist
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Info.plist
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Images.xcassets/Contents.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Images.xcassets/Contents.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/AppDelegate.mm
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/AppDelegate.mm
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/AppDelegate.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld/AppDelegate.h
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/ios/HelloWorld -> file:/Users/alexchoi/Project-ios/ProjectMobile/ios/ProjectMobile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/index.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/index.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/babel.config.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/babel.config.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/app.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/app.json
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/settings.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/settings.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradlew.bat
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradlew.bat
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradlew
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradlew
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle.properties
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle.properties
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle/wrapper/gradle-wrapper.properties
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle/wrapper/gradle-wrapper.properties
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle/wrapper/gradle-wrapper.jar
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/gradle/wrapper/gradle-wrapper.jar
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/build.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/build.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/values/styles.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/values/styles.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/values/strings.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/values/strings.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/drawable/rn_edit_text_material.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/res/drawable/rn_edit_text_material.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/OnLoad.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/OnLoad.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainComponentsRegistry.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainComponentsRegistry.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainComponentsRegistry.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainComponentsRegistry.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationModuleProvider.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationModuleProvider.h
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationModuleProvider.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/MainApplicationModuleProvider.cpp
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/Android.mk
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/jni/Android.mk
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/components/MainComponentsRegistry.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/components/MainComponentsRegistry.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/MainApplicationReactNativeHost.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/newarchitecture/MainApplicationReactNativeHost.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/MainApplication.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/MainApplication.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/MainActivity.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld/MainActivity.java
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/helloworld -> file:/Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/java/com/Projectmobile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/AndroidManifest.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/main/AndroidManifest.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/java/com/helloworld -> file:/Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/java/com/Projectmobile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/AndroidManifest.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/src/debug/AndroidManifest.xml
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/proguard-rules.pro
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/proguard-rules.pro
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/debug.keystore
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/debug.keystore
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/build_defs.bzl
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/build_defs.bzl
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/build.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/build.gradle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/_BUCK
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/android/app/_BUCK
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_watchmanconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_watchmanconfig
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_watchmanconfig -> file:/Users/alexchoi/Project-ios/ProjectMobile/.watchmanconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_ruby-version
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_ruby-version
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_ruby-version -> file:/Users/alexchoi/Project-ios/ProjectMobile/.ruby-version
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_prettierrc.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_prettierrc.js
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_prettierrc.js -> file:/Users/alexchoi/Project-ios/ProjectMobile/.prettierrc.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_gitignore
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_gitignore
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_gitignore -> file:/Users/alexchoi/Project-ios/ProjectMobile/.gitignore
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_flowconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_flowconfig
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_flowconfig -> file:/Users/alexchoi/Project-ios/ProjectMobile/.flowconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_eslintrc.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_eslintrc.js
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_eslintrc.js -> file:/Users/alexchoi/Project-ios/ProjectMobile/.eslintrc.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_bundle/config
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_bundle/config
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_bundle/config -> file:/Users/alexchoi/Project-ios/ProjectMobile/_bundle/config
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_bundle -> file:/Users/alexchoi/Project-ios/ProjectMobile/.bundle
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_buckconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/_buckconfig
debug Renaming /Users/alexchoi/Project-ios/ProjectMobile/_buckconfig -> file:/Users/alexchoi/Project-ios/ProjectMobile/.buckconfig
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/__tests__/App-test.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/__tests__/App-test.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/Gemfile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/Gemfile
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/App.js
debug Replacing in /Users/alexchoi/Project-ios/ProjectMobile/App.js
yarn install v1.13.0
info No lockfile found.
[1/4] π Resolving packages...
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
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-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
warning react-native > react-native-codegen > jscodeshift > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
warning @react-native-community/eslint-config > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
info There appears to be trouble with your network connection. Retrying...
warning babel-jest > @jest/transform > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning "react-native > react-shallow-renderer@16.14.1" has incorrect peer dependency "react@^16.0.0 || ^17.0.0".
warning "react-native > react-native-codegen > jscodeshift@0.13.1" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning "@react-native-community/eslint-config > @typescript-eslint/eslint-plugin > tsutils@3.21.0" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] π¨ Building fresh packages...
success Saved lockfile.
β¨ Done in 51.78s.
β CocoaPods (https://cocoapods.org/) is not installed. CocoaPods is necessary for the iOS project to run correctly. Do you want to install it? βΊ Yes, with gem (may require sudo)
error
error Error: An error occured while trying to install CocoaPods, which is required by this template.
Please try again manually: sudo gem install cocoapods.
CocoaPods documentation: https://cocoapods.org/
β Project-ios git:(master) β npx react-native doctor
Common
β Node.js
β yarn
β Watchman - Used for watching changes in the filesystem when in development mode
Android
β JDK
β Android Studio - Required for building and installing your app on Android
β Android SDK - Required for building and installing your app on Android
- Versions found: N/A
- Version supported: 31.0.0
β ANDROID_HOME
iOS
β Xcode - Required for building and installing your app on iOS
β CocoaPods - Required for installing iOS dependencies
β ios-deploy - Required for installing your app on a physical device with the CLI
β .xcode.env - File to customize Xcode environment
Errors: 2
Warnings: 1
Usage
βΊ Press f to try to fix issues.
βΊ Press e to try to fix errors.
βΊ Press w to try to fix warnings.
βΊ Press Enter to exit.
β Project-ios git:(master) β gem info cocoapods
*** LOCAL GEMS ***
cocoapods (1.11.3, 1.11.2)
Authors: Eloy Duran, Fabio Pelosin, Kyle Fuller, Samuel Giddins
Homepage: https://github.com/CocoaPods/CocoaPods
License: MIT
Installed at (1.11.3): /Users/alexchoi/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
(1.11.2): /Users/alexchoi/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0
The Cocoa library package manager.
β Project-ios git:(master) β pod --version
1.11.3
M1 Mac
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
Hi. As for now, recommended way to install Cocoapods is with bundler. There have been also some improvements merged into CLI that should address the issues you were facing. I'll close the issue for now, please check if this is still valid and if so I'm happy to reopen :)
thank you for your reply. i will take a look at this problem when i back to RN dev
On Fri, Nov 25, 2022, 5:50 PM Adam TrzciΕski @.***> wrote:
Hi. As for now, recommended way to install Cocoapods is with bundler. There have been also some improvements merged into CLI that should address the issues you were facing. I'll close the issue for now, please check if this is still valid and if so I'm happy to reopen :)
β Reply to this email directly, view it on GitHub https://github.com/react-native-community/cli/issues/1602#issuecomment-1327241288, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYBEVFFIOWMQYPMFOAOR4TWKCDVZANCNFSM5VAXRR7A . You are receiving this because you authored the thread.Message ID: @.***>
Environment
π All envs:
π€ What react-native-cli said:
Description
Just keep telling me that cocoapods is not installed:
Reproducible Demo
macOS, macOS only.