Failing initializing app with react-native init (latest version)
flrnd opened this issue ยท 8 comments
Expected results
Create project boiler plate with typescript template using the official documentation here and here with the command: npx react-native init MyApp --template react-native-template-typescript
Observed results
The app fails to initialize the boilerplate due an error. See error log.
Logs
error An unexpected error occurred: "https://registry.yarnpkg.com/react-native-template-react-native-template-typescript: Not found".
Steps to reproduce
- Run
npx react-native init MyApp --template react-native-template-typescript
- yarn or npm fails to configure because it duplicates
react-native-template
creatingreact-native-template-react-native-template-typescript
, which obviously fails to install because it doesn't exists.
Same issue
@flrnd could this be an issue that's mentioned in the official doc?
Note: If the above command is failing, you may have an old version of react-native or react-native-cli installed globally on your system. To fix the issue try uninstalling the CLI:
npm uninstall -g react-native-cli or yarn global remove react-native-cli
and then run the npx command again.
I've just tried the same command and it worked fine.
@flrnd please follow advice by @AlisonYoon
@radko93 @AlisonYoon I did try that before opening the issue. "It works for me" is not a proper way to handle things in my opinion.
I just launched the npx command from the doc, no globally installed.
> npx react-native init MyApp --template react-native-template-typescript
This will walk you through creating a new React Native project in /home/flrnd/MyApp
Using yarn v1.22.10
Installing react-native...
yarn add v1.22.10
info No lockfile found.
[1/4] Resolving packages...
warning react-native > @react-native-community/cli-platform-ios > xcode > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning react-native > @react-native-community/cli > metro > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning react-native > @react-native-community/cli > 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 > 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...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.64.0" has unmet peer dependency "@babel/core@*".
warning "react-native > use-subscription@1.5.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "react-native > react-native-codegen > jscodeshift@0.11.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native@0.64.2" has unmet peer dependency "react@17.0.1".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 376 new dependencies.
info Direct dependencies
โโ react-native@0.64.2
info All dependencies
โโ @babel/compat-data@7.14.7
โโ @babel/helper-builder-binary-assignment-operator-visitor@7.14.5
โโ @babel/helper-compilation-targets@7.14.5
โโ @babel/helper-create-class-features-plugin@7.14.6
โโ @babel/helper-create-regexp-features-plugin@7.14.5
โโ @babel/helper-explode-assignable-expression@7.14.5
โโ @babel/helper-get-function-arity@7.14.5
โโ @babel/helper-hoist-variables@7.14.5
โโ @babel/helper-module-imports@7.14.5
โโ @babel/helper-plugin-utils@7.14.5
โโ @babel/helpers@7.14.6
โโ @babel/highlight@7.14.5
โโ @babel/plugin-proposal-class-properties@7.14.5
โโ @babel/plugin-proposal-export-default-from@7.14.5
โโ @babel/plugin-proposal-nullish-coalescing-operator@7.14.5
โโ @babel/plugin-proposal-optional-catch-binding@7.14.5
โโ @babel/plugin-proposal-optional-chaining@7.14.5
โโ @babel/plugin-syntax-class-properties@7.12.13
โโ @babel/plugin-syntax-dynamic-import@7.8.3
โโ @babel/plugin-syntax-export-default-from@7.14.5
โโ @babel/plugin-syntax-flow@7.14.5
โโ @babel/plugin-syntax-jsx@7.14.5
โโ @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.14.5
โโ @babel/plugin-transform-block-scoped-functions@7.14.5
โโ @babel/plugin-transform-exponentiation-operator@7.14.5
โโ @babel/plugin-transform-flow-strip-types@7.14.5
โโ @babel/plugin-transform-member-expression-literals@7.14.5
โโ @babel/plugin-transform-modules-commonjs@7.14.5
โโ @babel/plugin-transform-object-assign@7.14.5
โโ @babel/plugin-transform-object-super@7.14.5
โโ @babel/plugin-transform-parameters@7.14.5
โโ @babel/plugin-transform-property-literals@7.14.5
โโ @babel/plugin-transform-react-jsx-self@7.14.5
โโ @babel/plugin-transform-react-jsx-source@7.14.5
โโ @babel/plugin-transform-regenerator@7.14.5
โโ @babel/plugin-transform-runtime@7.14.5
โโ @babel/plugin-transform-sticky-regex@7.14.5
โโ @babel/plugin-transform-typescript@7.14.6
โโ @babel/plugin-transform-unicode-regex@7.14.5
โโ @babel/preset-flow@7.14.5
โโ @babel/preset-typescript@7.14.5
โโ @babel/runtime@7.14.6
โโ @babel/traverse@7.14.7
โโ @cnakazawa/watch@1.0.4
โโ @hapi/topo@5.1.0
โโ @jest/create-cache-key-function@26.6.2
โโ @react-native-community/cli-hermes@5.0.1
โโ @react-native-community/cli-platform-android@5.0.1
โโ @react-native-community/cli-platform-ios@5.0.1
โโ @react-native-community/cli-server-api@5.0.1
โโ @react-native-community/cli-types@5.0.1
โโ @react-native-community/cli@5.0.1
โโ @react-native/assets@1.0.0
โโ @react-native/normalize-color@1.0.0
โโ @react-native/polyfills@1.0.0
โโ @sideway/address@4.1.2
โโ @sideway/formula@3.0.0
โโ @sideway/pinpoint@2.0.0
โโ @types/graceful-fs@4.1.5
โโ @types/istanbul-lib-coverage@2.0.3
โโ @types/istanbul-lib-report@3.0.0
โโ @types/istanbul-reports@3.0.1
โโ @types/yargs-parser@20.2.0
โโ @types/yargs@15.0.13
โโ abort-controller@3.0.0
โโ accepts@1.3.7
โโ anser@1.4.10
โโ ansi-fragments@0.2.1
โโ anymatch@3.1.2
โโ appdirsjs@1.2.5
โโ argparse@1.0.10
โโ arr-flatten@1.1.0
โโ array-filter@0.0.1
โโ array-map@0.0.0
โโ array-reduce@0.0.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@2.6.3
โโ atob@2.1.2
โโ babel-core@7.0.0-bridge.0
โโ babel-plugin-dynamic-import-node@2.3.3
โโ babel-plugin-polyfill-corejs2@0.2.2
โโ babel-plugin-polyfill-corejs3@0.2.3
โโ babel-plugin-polyfill-regenerator@0.2.2
โโ 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
โโ big-integer@1.6.48
โโ bplist-creator@0.0.8
โโ bplist-parser@0.2.0
โโ brace-expansion@1.1.11
โโ braces@2.3.2
โโ bser@2.1.1
โโ buffer-from@1.1.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@6.2.0
โโ caniuse-lite@1.0.30001241
โโ capture-exit@2.0.0
โโ class-utils@0.3.6
โโ cli-cursor@2.1.0
โโ cli-spinners@2.6.0
โโ 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.2.2
โโ colors@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.15.1
โโ core-util-is@1.0.2
โโ cosmiconfig@5.2.1
โโ cross-spawn@6.0.5
โโ dayjs@1.10.5
โโ debug@2.6.9
โโ decode-uri-component@0.2.0
โโ deepmerge@3.3.0
โโ defaults@1.0.3
โโ define-properties@1.1.3
โโ denodeify@1.2.1
โโ destroy@1.0.4
โโ ee-first@1.1.1
โโ electron-to-chromium@1.3.760
โโ emoji-regex@8.0.0
โโ end-of-stream@1.4.4
โโ envinfo@7.8.1
โโ error-ex@1.3.2
โโ error-stack-parser@2.0.6
โโ errorhandler@1.5.1
โโ escalade@3.1.1
โโ esprima@4.0.1
โโ etag@1.8.1
โโ event-target-shim@5.0.1
โโ expand-brackets@2.1.4
โโ extglob@2.0.4
โโ 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
โโ gensync@1.0.0-beta.2
โโ get-caller-file@2.0.5
โโ get-intrinsic@1.1.1
โโ get-stream@4.1.0
โโ get-value@2.0.6
โโ has-flag@4.0.0
โโ has-value@1.0.0
โโ hermes-engine@0.7.2
โโ hermes-profile-transformer@0.0.6
โโ http-errors@1.7.3
โโ image-size@0.6.3
โโ import-fresh@2.0.0
โโ imurmurhash@0.1.4
โโ inflight@1.0.6
โโ inherits@2.0.4
โโ interpret@1.4.0
โโ ip@1.1.5
โโ is-accessor-descriptor@1.0.0
โโ is-arrayish@0.2.1
โโ is-ci@2.0.0
โโ is-core-module@2.4.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-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@26.0.0
โโ jest-serializer@26.6.2
โโ jest-util@26.6.2
โโ jest-validate@26.6.2
โโ jest-worker@26.6.2
โโ jetifier@1.6.8
โโ joi@17.4.0
โโ js-tokens@4.0.0
โโ jsc-android@245459.0.0
โโ jscodeshift@0.11.0
โโ jsesc@2.5.2
โโ json-parse-better-errors@1.0.2
โโ json5@2.2.0
โโ jsonfile@4.0.0
โโ jsonify@0.0.0
โโ klaw@1.3.1
โโ kleur@3.0.3
โโ locate-path@5.0.0
โโ lodash.debounce@4.0.8
โโ lodash@4.17.21
โโ log-symbols@2.2.0
โโ logkitty@0.7.1
โโ loose-envify@1.4.0
โโ make-dir@2.1.0
โโ makeerror@1.0.11
โโ map-visit@1.0.0
โโ merge-stream@2.0.0
โโ metro-config@0.64.0
โโ metro-inspector-proxy@0.64.0
โโ metro-minify-uglify@0.64.0
โโ metro-react-native-babel-transformer@0.64.0
โโ metro-transform-worker@0.64.0
โโ mime-db@1.48.0
โโ mime-types@2.1.31
โโ mime@2.5.2
โโ mimic-fn@1.2.0
โโ minimatch@3.0.4
โโ mixin-deep@1.3.2
โโ ms@2.0.0
โโ nanomatch@1.2.13
โโ negotiator@0.6.2
โโ neo-async@2.6.2
โโ nice-try@1.0.5
โโ nocache@2.1.0
โโ node-dir@0.1.17
โโ node-fetch@2.6.1
โโ node-int64@0.4.0
โโ node-modules-regexp@1.0.0
โโ node-releases@1.1.73
โโ node-stream-zip@1.13.6
โโ normalize-path@3.0.0
โโ npm-run-path@2.0.2
โโ ob1@0.64.0
โโ object-copy@0.1.0
โโ object-keys@1.1.1
โโ object.assign@4.1.2
โโ on-headers@1.0.2
โโ once@1.4.0
โโ onetime@2.0.1
โโ open@6.4.0
โโ options@0.0.6
โโ 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
โโ picomatch@2.3.0
โโ pify@4.0.1
โโ pirates@4.0.1
โโ pkg-dir@3.0.0
โโ posix-character-classes@0.1.1
โโ process-nextick-args@2.0.1
โโ promise@8.1.0
โโ prompts@2.4.1
โโ prop-types@15.7.2
โโ pump@3.0.0
โโ range-parser@1.2.1
โโ react-devtools-core@4.13.5
โโ react-is@16.13.1
โโ react-native-codegen@0.0.6
โโ react-native@0.64.2
โโ readable-stream@2.3.7
โโ recast@0.20.4
โโ rechoir@0.6.2
โโ regenerate-unicode-properties@8.2.0
โโ regenerator-runtime@0.13.7
โโ regenerator-transform@0.14.5
โโ regexpu-core@4.7.1
โโ regjsgen@0.5.2
โโ regjsparser@0.6.9
โโ remove-trailing-separator@1.1.0
โโ 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.20.0
โโ restore-cursor@2.0.0
โโ ret@0.1.15
โโ rsvp@4.8.5
โโ safe-buffer@5.1.2
โโ sane@4.1.0
โโ sax@1.2.4
โโ scheduler@0.20.2
โโ semver@6.3.0
โโ send@0.17.1
โโ serialize-error@2.1.0
โโ set-blocking@2.0.0
โโ set-value@2.0.1
โโ setprototypeof@1.1.1
โโ shallow-clone@3.0.1
โโ shebang-command@1.2.0
โโ shebang-regex@1.0.0
โโ shell-quote@1.7.2
โโ shelljs@0.8.4
โโ simple-plist@1.1.1
โโ 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.19
โโ source-map-url@0.4.1
โโ split-string@3.1.0
โโ sprintf-js@1.0.3
โโ stackframe@1.2.0
โโ stacktrace-parser@0.1.10
โโ static-extend@0.1.2
โโ statuses@1.5.0
โโ stream-buffers@2.2.0
โโ string_decoder@1.1.1
โโ string-width@4.2.2
โโ strip-eof@1.0.0
โโ sudo-prompt@9.2.1
โโ supports-color@7.2.0
โโ temp@0.8.3
โโ throat@5.0.0
โโ through2@2.0.5
โโ tmpl@1.0.4
โโ to-fast-properties@2.0.0
โโ to-object-path@0.3.0
โโ to-regex-range@2.1.1
โโ toidentifier@1.0.0
โโ type-fest@0.7.1
โโ uglify-es@3.3.9
โโ ultron@1.0.2
โโ unicode-canonical-property-names-ecmascript@1.0.4
โโ unicode-match-property-ecmascript@1.0.4
โโ unicode-match-property-value-ecmascript@1.2.0
โโ unicode-property-aliases-ecmascript@1.1.0
โโ union-value@1.0.1
โโ universalify@0.1.2
โโ unpipe@1.0.0
โโ unset-value@1.0.0
โโ urix@0.1.0
โโ use-subscription@1.5.1
โโ use@3.1.1
โโ util-deprecate@1.0.2
โโ utils-merge@1.0.1
โโ uuid@3.4.0
โโ vary@1.1.2
โโ walker@1.0.7
โโ whatwg-fetch@3.6.2
โโ which-module@2.0.0
โโ which@1.3.1
โโ wrap-ansi@6.2.0
โโ write-file-atomic@2.4.3
โโ xcode@2.1.0
โโ xmlbuilder@9.0.7
โโ xmldoc@1.1.2
โโ xmldom@0.5.0
โโ xtend@4.0.2
โโ y18n@4.0.3
โโ yargs-parser@18.1.3
Done in 6.60s.
info Setting up new React Native app in /home/flrnd/MyApp
info Fetching template react-native-template-react-native-template-typescript...
(node:4804) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
yarn add v1.22.10
[1/4] Resolving packages...
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.
error An unexpected error occurred: "https://registry.yarnpkg.com/react-native-template-react-native-template-typescript: Not found".
info If you think this is a bug, please open a bug report with the information provided in "/home/flrnd/MyApp/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarn remove v1.22.10
[1/2] Removing module react-native-template-react-native-template-typescript...
error This module isn't specified in a package.json file.
info Visit https://yarnpkg.com/en/docs/cli/remove for documentation about this command.
warn Failed to clean up template temp files in node_modules/react-native-template-react-native-template-typescript. This is not a critical error, you can work on your app.
(node:4804) UnhandledPromiseRejectionWarning: Error: Command failed: yarn add react-native-template-react-native-template-typescript
at makeError (/home/flrnd/MyApp/node_modules/execa/index.js:174:9)
at /home/flrnd/MyApp/node_modules/execa/index.js:278:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async createFromRemoteTemplate (/home/flrnd/MyApp/node_modules/@react-native-community/cli/build/tools/generator/templates.js:115:5)
at async createProjectFromTemplate (/home/flrnd/MyApp/node_modules/@react-native-community/cli/build/tools/generator/templates.js:88:3)
at async generateProject (/home/flrnd/MyApp/node_modules/@react-native-community/cli/build/commands/init/initCompat.js:118:3)
at async Object.initCompat (/home/flrnd/MyApp/node_modules/@react-native-community/cli/build/commands/init/initCompat.js:105:3)
(node:4804) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:4804) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
So it obviously something wrong because you can check on the log things like Removing module react-native-template-react-native-template-typescript.
Also, you can launch npx react-native init MyApp --template typescript
which finish the install.
> npx react-native init MyApp --template typescript
This will walk you through creating a new React Native project in /home/flrnd/MyApp
Using yarn v1.22.10
Installing react-native...
yarn add v1.22.10
info No lockfile found.
[1/4] Resolving packages...
warning react-native > @react-native-community/cli-platform-ios > xcode > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
warning react-native > @react-native-community/cli > metro-core > jest-haste-map > sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
warning react-native > @react-native-community/cli > 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 > 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...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-native > metro-react-native-babel-transformer@0.64.0" has unmet peer dependency "@babel/core@*".
warning "react-native > use-subscription@1.5.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "react-native > react-native-codegen > jscodeshift@0.11.0" has unmet peer dependency "@babel/preset-env@^7.1.6".
warning " > react-native@0.64.2" has unmet peer dependency "react@17.0.1".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 376 new dependencies.
info Direct dependencies
โโ react-native@0.64.2
info All dependencies
โโ @babel/compat-data@7.14.7
โโ @babel/helper-builder-binary-assignment-operator-visitor@7.14.5
โโ @babel/helper-compilation-targets@7.14.5
โโ @babel/helper-create-class-features-plugin@7.14.6
โโ @babel/helper-create-regexp-features-plugin@7.14.5
โโ @babel/helper-explode-assignable-expression@7.14.5
โโ @babel/helper-get-function-arity@7.14.5
โโ @babel/helper-hoist-variables@7.14.5
โโ @babel/helper-module-imports@7.14.5
โโ @babel/helper-plugin-utils@7.14.5
โโ @babel/helpers@7.14.6
โโ @babel/highlight@7.14.5
โโ @babel/plugin-proposal-class-properties@7.14.5
โโ @babel/plugin-proposal-export-default-from@7.14.5
โโ @babel/plugin-proposal-nullish-coalescing-operator@7.14.5
โโ @babel/plugin-proposal-optional-catch-binding@7.14.5
โโ @babel/plugin-proposal-optional-chaining@7.14.5
โโ @babel/plugin-syntax-class-properties@7.12.13
โโ @babel/plugin-syntax-dynamic-import@7.8.3
โโ @babel/plugin-syntax-export-default-from@7.14.5
โโ @babel/plugin-syntax-flow@7.14.5
โโ @babel/plugin-syntax-jsx@7.14.5
โโ @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.14.5
โโ @babel/plugin-transform-block-scoped-functions@7.14.5
โโ @babel/plugin-transform-exponentiation-operator@7.14.5
โโ @babel/plugin-transform-flow-strip-types@7.14.5
โโ @babel/plugin-transform-member-expression-literals@7.14.5
โโ @babel/plugin-transform-modules-commonjs@7.14.5
โโ @babel/plugin-transform-object-assign@7.14.5
โโ @babel/plugin-transform-object-super@7.14.5
โโ @babel/plugin-transform-parameters@7.14.5
โโ @babel/plugin-transform-property-literals@7.14.5
โโ @babel/plugin-transform-react-jsx-self@7.14.5
โโ @babel/plugin-transform-react-jsx-source@7.14.5
โโ @babel/plugin-transform-regenerator@7.14.5
โโ @babel/plugin-transform-runtime@7.14.5
โโ @babel/plugin-transform-sticky-regex@7.14.5
โโ @babel/plugin-transform-typescript@7.14.6
โโ @babel/plugin-transform-unicode-regex@7.14.5
โโ @babel/preset-flow@7.14.5
โโ @babel/preset-typescript@7.14.5
โโ @babel/runtime@7.14.6
โโ @babel/traverse@7.14.7
โโ @cnakazawa/watch@1.0.4
โโ @hapi/topo@5.1.0
โโ @jest/create-cache-key-function@26.6.2
โโ @react-native-community/cli-hermes@5.0.1
โโ @react-native-community/cli-platform-android@5.0.1
โโ @react-native-community/cli-platform-ios@5.0.1
โโ @react-native-community/cli-server-api@5.0.1
โโ @react-native-community/cli-types@5.0.1
โโ @react-native-community/cli@5.0.1
โโ @react-native/assets@1.0.0
โโ @react-native/normalize-color@1.0.0
โโ @react-native/polyfills@1.0.0
โโ @sideway/address@4.1.2
โโ @sideway/formula@3.0.0
โโ @sideway/pinpoint@2.0.0
โโ @types/graceful-fs@4.1.5
โโ @types/istanbul-lib-coverage@2.0.3
โโ @types/istanbul-lib-report@3.0.0
โโ @types/istanbul-reports@3.0.1
โโ @types/yargs-parser@20.2.0
โโ @types/yargs@15.0.13
โโ abort-controller@3.0.0
โโ accepts@1.3.7
โโ anser@1.4.10
โโ ansi-fragments@0.2.1
โโ anymatch@3.1.2
โโ appdirsjs@1.2.5
โโ argparse@1.0.10
โโ arr-flatten@1.1.0
โโ array-filter@0.0.1
โโ array-map@0.0.0
โโ array-reduce@0.0.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@2.6.3
โโ atob@2.1.2
โโ babel-core@7.0.0-bridge.0
โโ babel-plugin-dynamic-import-node@2.3.3
โโ babel-plugin-polyfill-corejs2@0.2.2
โโ babel-plugin-polyfill-corejs3@0.2.3
โโ babel-plugin-polyfill-regenerator@0.2.2
โโ 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
โโ big-integer@1.6.48
โโ bplist-creator@0.0.8
โโ bplist-parser@0.2.0
โโ brace-expansion@1.1.11
โโ braces@2.3.2
โโ bser@2.1.1
โโ buffer-from@1.1.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@6.2.0
โโ caniuse-lite@1.0.30001241
โโ capture-exit@2.0.0
โโ class-utils@0.3.6
โโ cli-cursor@2.1.0
โโ cli-spinners@2.6.0
โโ 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.2.2
โโ colors@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.15.1
โโ core-util-is@1.0.2
โโ cosmiconfig@5.2.1
โโ cross-spawn@6.0.5
โโ dayjs@1.10.5
โโ debug@2.6.9
โโ decode-uri-component@0.2.0
โโ deepmerge@3.3.0
โโ defaults@1.0.3
โโ define-properties@1.1.3
โโ denodeify@1.2.1
โโ destroy@1.0.4
โโ ee-first@1.1.1
โโ electron-to-chromium@1.3.760
โโ emoji-regex@8.0.0
โโ end-of-stream@1.4.4
โโ envinfo@7.8.1
โโ error-ex@1.3.2
โโ error-stack-parser@2.0.6
โโ errorhandler@1.5.1
โโ escalade@3.1.1
โโ esprima@4.0.1
โโ etag@1.8.1
โโ event-target-shim@5.0.1
โโ expand-brackets@2.1.4
โโ extglob@2.0.4
โโ 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
โโ gensync@1.0.0-beta.2
โโ get-caller-file@2.0.5
โโ get-intrinsic@1.1.1
โโ get-stream@4.1.0
โโ get-value@2.0.6
โโ has-flag@4.0.0
โโ has-value@1.0.0
โโ hermes-engine@0.7.2
โโ hermes-profile-transformer@0.0.6
โโ http-errors@1.7.3
โโ image-size@0.6.3
โโ import-fresh@2.0.0
โโ imurmurhash@0.1.4
โโ inflight@1.0.6
โโ inherits@2.0.4
โโ interpret@1.4.0
โโ ip@1.1.5
โโ is-accessor-descriptor@1.0.0
โโ is-arrayish@0.2.1
โโ is-ci@2.0.0
โโ is-core-module@2.4.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-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@26.0.0
โโ jest-serializer@26.6.2
โโ jest-util@26.6.2
โโ jest-validate@26.6.2
โโ jest-worker@26.6.2
โโ jetifier@1.6.8
โโ joi@17.4.0
โโ js-tokens@4.0.0
โโ jsc-android@245459.0.0
โโ jscodeshift@0.11.0
โโ jsesc@2.5.2
โโ json-parse-better-errors@1.0.2
โโ json5@2.2.0
โโ jsonfile@4.0.0
โโ jsonify@0.0.0
โโ klaw@1.3.1
โโ kleur@3.0.3
โโ locate-path@5.0.0
โโ lodash.debounce@4.0.8
โโ lodash@4.17.21
โโ log-symbols@2.2.0
โโ logkitty@0.7.1
โโ loose-envify@1.4.0
โโ make-dir@2.1.0
โโ makeerror@1.0.11
โโ map-visit@1.0.0
โโ merge-stream@2.0.0
โโ metro-config@0.64.0
โโ metro-inspector-proxy@0.64.0
โโ metro-minify-uglify@0.64.0
โโ metro-react-native-babel-transformer@0.64.0
โโ metro-transform-worker@0.64.0
โโ mime-db@1.48.0
โโ mime-types@2.1.31
โโ mime@2.5.2
โโ mimic-fn@1.2.0
โโ minimatch@3.0.4
โโ mixin-deep@1.3.2
โโ ms@2.0.0
โโ nanomatch@1.2.13
โโ negotiator@0.6.2
โโ neo-async@2.6.2
โโ nice-try@1.0.5
โโ nocache@2.1.0
โโ node-dir@0.1.17
โโ node-fetch@2.6.1
โโ node-int64@0.4.0
โโ node-modules-regexp@1.0.0
โโ node-releases@1.1.73
โโ node-stream-zip@1.13.6
โโ normalize-path@3.0.0
โโ npm-run-path@2.0.2
โโ ob1@0.64.0
โโ object-copy@0.1.0
โโ object-keys@1.1.1
โโ object.assign@4.1.2
โโ on-headers@1.0.2
โโ once@1.4.0
โโ onetime@2.0.1
โโ open@6.4.0
โโ options@0.0.6
โโ 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
โโ picomatch@2.3.0
โโ pify@4.0.1
โโ pirates@4.0.1
โโ pkg-dir@3.0.0
โโ posix-character-classes@0.1.1
โโ process-nextick-args@2.0.1
โโ promise@8.1.0
โโ prompts@2.4.1
โโ prop-types@15.7.2
โโ pump@3.0.0
โโ range-parser@1.2.1
โโ react-devtools-core@4.13.5
โโ react-is@16.13.1
โโ react-native-codegen@0.0.6
โโ react-native@0.64.2
โโ readable-stream@2.3.7
โโ recast@0.20.4
โโ rechoir@0.6.2
โโ regenerate-unicode-properties@8.2.0
โโ regenerator-runtime@0.13.7
โโ regenerator-transform@0.14.5
โโ regexpu-core@4.7.1
โโ regjsgen@0.5.2
โโ regjsparser@0.6.9
โโ remove-trailing-separator@1.1.0
โโ 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.20.0
โโ restore-cursor@2.0.0
โโ ret@0.1.15
โโ rsvp@4.8.5
โโ safe-buffer@5.1.2
โโ sane@4.1.0
โโ sax@1.2.4
โโ scheduler@0.20.2
โโ semver@6.3.0
โโ send@0.17.1
โโ serialize-error@2.1.0
โโ set-blocking@2.0.0
โโ set-value@2.0.1
โโ setprototypeof@1.1.1
โโ shallow-clone@3.0.1
โโ shebang-command@1.2.0
โโ shebang-regex@1.0.0
โโ shell-quote@1.7.2
โโ shelljs@0.8.4
โโ simple-plist@1.1.1
โโ 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.19
โโ source-map-url@0.4.1
โโ split-string@3.1.0
โโ sprintf-js@1.0.3
โโ stackframe@1.2.0
โโ stacktrace-parser@0.1.10
โโ static-extend@0.1.2
โโ statuses@1.5.0
โโ stream-buffers@2.2.0
โโ string_decoder@1.1.1
โโ string-width@4.2.2
โโ strip-eof@1.0.0
โโ sudo-prompt@9.2.1
โโ supports-color@7.2.0
โโ temp@0.8.3
โโ throat@5.0.0
โโ through2@2.0.5
โโ tmpl@1.0.4
โโ to-fast-properties@2.0.0
โโ to-object-path@0.3.0
โโ to-regex-range@2.1.1
โโ toidentifier@1.0.0
โโ type-fest@0.7.1
โโ uglify-es@3.3.9
โโ ultron@1.0.2
โโ unicode-canonical-property-names-ecmascript@1.0.4
โโ unicode-match-property-ecmascript@1.0.4
โโ unicode-match-property-value-ecmascript@1.2.0
โโ unicode-property-aliases-ecmascript@1.1.0
โโ union-value@1.0.1
โโ universalify@0.1.2
โโ unpipe@1.0.0
โโ unset-value@1.0.0
โโ urix@0.1.0
โโ use-subscription@1.5.1
โโ use@3.1.1
โโ util-deprecate@1.0.2
โโ utils-merge@1.0.1
โโ uuid@3.4.0
โโ vary@1.1.2
โโ walker@1.0.7
โโ whatwg-fetch@3.6.2
โโ which-module@2.0.0
โโ which@1.3.1
โโ wrap-ansi@6.2.0
โโ write-file-atomic@2.4.3
โโ xcode@2.1.0
โโ xmlbuilder@9.0.7
โโ xmldoc@1.1.2
โโ xmldom@0.5.0
โโ xtend@4.0.2
โโ y18n@4.0.3
โโ yargs-parser@18.1.3
Done in 5.84s.
info Setting up new React Native app in /home/flrnd/MyApp
info Fetching template react-native-template-typescript...
(node:5204) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
yarn add v1.22.10
[1/4] Resolving packages...
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.
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-native > react-native-codegen > jscodeshift@0.11.0" 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.
success Saved 200 new dependencies.
info Direct dependencies
โโ @react-native-community/eslint-config@2.0.0
โโ eslint@7.14.0
โโ jest@26.6.3
โโ react-native-template-typescript@6.6.4
โโ react-test-renderer@17.0.1
โโ react@17.0.1
info All dependencies
โโ @babel/plugin-syntax-async-generators@7.8.4
โโ @babel/plugin-syntax-bigint@7.8.3
โโ @babel/plugin-syntax-import-meta@7.10.4
โโ @babel/plugin-syntax-json-strings@7.8.3
โโ @babel/plugin-syntax-logical-assignment-operators@7.10.4
โโ @babel/plugin-syntax-numeric-separator@7.10.4
โโ @babel/plugin-syntax-top-level-await@7.14.5
โโ @bcoe/v8-coverage@0.2.3
โโ @eslint/eslintrc@0.2.2
โโ @istanbuljs/load-nyc-config@1.1.0
โโ @jest/globals@26.6.2
โโ @jest/reporters@26.6.2
โโ @jest/test-sequencer@26.6.3
โโ @react-native-community/eslint-config@2.0.0
โโ @react-native-community/eslint-plugin@1.1.0
โโ @sinonjs/commons@1.8.3
โโ @sinonjs/fake-timers@6.0.1
โโ @tootallnate/once@1.1.2
โโ @types/babel__core@7.1.14
โโ @types/babel__generator@7.6.2
โโ @types/babel__template@7.4.0
โโ @types/babel__traverse@7.14.0
โโ @types/eslint-visitor-keys@1.0.0
โโ @types/json-schema@7.0.7
โโ @types/normalize-package-data@2.4.0
โโ @types/prettier@2.3.0
โโ @types/stack-utils@2.0.0
โโ @typescript-eslint/eslint-plugin@3.10.1
โโ @typescript-eslint/parser@3.10.1
โโ @typescript-eslint/visitor-keys@3.10.1
โโ abab@2.0.5
โโ acorn-globals@6.0.0
โโ acorn-jsx@5.3.1
โโ acorn-walk@7.2.0
โโ acorn@7.4.1
โโ ajv@6.12.6
โโ ansi-colors@4.1.1
โโ array-includes@3.1.3
โโ array.prototype.flatmap@1.2.4
โโ asynckit@0.4.0
โโ babel-eslint@10.1.0
โโ babel-plugin-jest-hoist@26.6.2
โโ babel-preset-current-node-syntax@1.0.1
โโ babel-preset-jest@26.6.2
โโ browser-process-hrtime@1.0.0
โโ char-regex@1.0.2
โโ cjs-module-lexer@0.6.0
โโ co@4.6.0
โโ combined-stream@1.0.8
โโ cross-spawn@7.0.3
โโ cssom@0.4.4
โโ cssstyle@2.3.0
โโ data-urls@2.0.0
โโ decimal.js@10.3.1
โโ deep-is@0.1.3
โโ delayed-stream@1.0.0
โโ detect-newline@3.1.0
โโ diff-sequences@26.6.2
โโ doctrine@3.0.0
โโ domexception@2.0.1
โโ emittery@0.7.2
โโ enquirer@2.3.6
โโ es-to-primitive@1.2.1
โโ escodegen@2.0.0
โโ eslint-config-prettier@6.15.0
โโ eslint-plugin-eslint-comments@3.2.0
โโ eslint-plugin-flowtype@2.50.3
โโ eslint-plugin-jest@22.4.1
โโ eslint-plugin-prettier@3.1.2
โโ eslint-plugin-react-hooks@4.2.0
โโ eslint-plugin-react-native-globals@0.1.2
โโ eslint-plugin-react-native@3.11.0
โโ eslint-plugin-react@7.24.0
โโ eslint-scope@5.1.1
โโ eslint-utils@2.1.0
โโ eslint-visitor-keys@1.3.0
โโ eslint@7.14.0
โโ esquery@1.4.0
โโ esrecurse@4.3.0
โโ fast-deep-equal@3.1.3
โโ fast-diff@1.2.0
โโ fast-levenshtein@2.0.6
โโ file-entry-cache@5.0.1
โโ flat-cache@2.0.1
โโ flatted@2.0.2
โโ form-data@3.0.1
โโ get-package-type@0.1.0
โโ get-stdin@6.0.0
โโ glob-parent@5.1.2
โโ growly@1.3.0
โโ has-bigints@1.0.1
โโ hosted-git-info@2.8.9
โโ html-encoding-sniffer@2.0.1
โโ html-escaper@2.0.2
โโ http-proxy-agent@4.0.1
โโ https-proxy-agent@5.0.0
โโ human-signals@1.1.1
โโ iconv-lite@0.4.24
โโ import-fresh@3.3.0
โโ internal-slot@1.0.3
โโ is-bigint@1.0.2
โโ is-boolean-object@1.1.1
โโ is-callable@1.2.3
โโ is-date-object@1.0.4
โโ is-docker@2.2.1
โโ is-extglob@2.1.1
โโ is-generator-fn@2.1.0
โโ is-negative-zero@2.0.1
โโ is-number-object@1.0.5
โโ is-potential-custom-element-name@1.0.1
โโ is-regex@1.1.3
โโ is-symbol@1.0.4
โโ istanbul-lib-instrument@4.0.3
โโ istanbul-lib-source-maps@4.0.0
โโ istanbul-reports@3.0.2
โโ jest-changed-files@26.6.2
โโ jest-cli@26.6.3
โโ jest-docblock@26.0.0
โโ jest-each@26.6.2
โโ jest-environment-jsdom@26.6.2
โโ jest-environment-node@26.6.2
โโ jest-jasmine2@26.6.3
โโ jest-leak-detector@26.6.2
โโ jest-pnp-resolver@1.2.2
โโ jest-resolve-dependencies@26.6.3
โโ jest-watcher@26.6.2
โโ jest@26.6.3
โโ jsdom@16.6.0
โโ json-parse-even-better-errors@2.3.1
โโ json-schema-traverse@0.4.1
โโ json-stable-stringify-without-jsonify@1.0.1
โโ jsx-ast-utils@3.2.0
โโ lines-and-columns@1.1.6
โโ lru-cache@6.0.0
โโ mimic-fn@2.1.0
โโ node-notifier@8.0.2
โโ normalize-package-data@2.5.0
โโ nwsapi@2.2.0
โโ object-inspect@1.10.3
โโ object.entries@1.1.4
โโ object.fromentries@2.0.4
โโ object.values@1.1.4
โโ onetime@5.1.2
โโ optionator@0.9.1
โโ p-each-series@2.2.0
โโ parent-module@1.0.1
โโ parse5@6.0.1
โโ pkg-dir@4.2.0
โโ prettier-linter-helpers@1.0.0
โโ prettier@2.3.2
โโ progress@2.0.3
โโ psl@1.8.0
โโ react-native-template-typescript@6.6.4
โโ react-shallow-renderer@16.14.1
โโ react-test-renderer@17.0.1
โโ react@17.0.1
โโ read-pkg-up@7.0.1
โโ read-pkg@5.2.0
โโ regexp.prototype.flags@1.3.1
โโ regexpp@3.2.0
โโ resolve-cwd@3.0.0
โโ safer-buffer@2.1.2
โโ saxes@5.0.1
โโ shebang-command@2.0.0
โโ shebang-regex@3.0.0
โโ shellwords@0.1.1
โโ spdx-correct@3.1.1
โโ spdx-exceptions@2.3.0
โโ stack-utils@2.0.3
โโ string.prototype.matchall@4.0.5
โโ string.prototype.trimend@1.0.4
โโ string.prototype.trimstart@1.0.4
โโ strip-bom@4.0.0
โโ strip-final-newline@2.0.0
โโ strip-json-comments@3.1.1
โโ supports-hyperlinks@2.2.0
โโ symbol-tree@3.2.4
โโ table@5.4.6
โโ terminal-link@2.1.1
โโ test-exclude@6.0.0
โโ text-table@0.2.0
โโ tough-cookie@4.0.0
โโ tr46@2.1.0
โโ type-detect@4.0.8
โโ typedarray-to-buffer@3.1.5
โโ unbox-primitive@1.0.1
โโ uri-js@4.4.1
โโ v8-compile-cache@2.3.0
โโ v8-to-istanbul@7.1.2
โโ validate-npm-package-license@3.0.4
โโ w3c-hr-time@1.0.2
โโ w3c-xmlserializer@2.0.0
โโ whatwg-url@8.7.0
โโ which-boxed-primitive@1.0.2
โโ which@2.0.2
โโ word-wrap@1.2.3
โโ write-file-atomic@3.0.3
โโ write@1.0.3
โโ xmlchars@2.2.0
โโ yallist@4.0.0
Done in 6.72s.
info Adding dependencies for the project...
info No additional dependencies.
info Adding develop dependencies for the project...
info No additional develop dependencies.
yarn remove v1.22.10
[1/2] Removing module react-native-template-typescript...
[2/2] Regenerating lockfile and installing missing dependencies...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
warning "react-native > react-native-codegen > jscodeshift@0.11.0" 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".
success Uninstalled packages.
Done in 1.91s.
info Adding required dependencies
yarn add v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-native > react-native-codegen > jscodeshift@0.11.0" 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 0 new dependencies.
Done in 1.94s.
info Adding required dev dependencies
yarn add v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["@babel/core@^7.14.6"] is trying to unpack in the same destination "/home/flrnd/.cache/yarn/v6/npm-@babel-core-7.14.6-e0814ec1a950032ff16c13a2721de39a8416fcab-integrity/node_modules/@babel/core" as pattern ["@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.1.6","@babel/core@^7.0.0","@babel/core@^7.0.0","@babel/core@^7.1.0","@babel/core@^7.7.5","@babel/core@^7.1.0","@babel/core@^7.7.2","@babel/core@^7.0.0"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["@babel/runtime@^7.14.6"] is trying to unpack in the same destination "/home/flrnd/.cache/yarn/v6/npm-@babel-runtime-7.14.6-535203bc0892efc7dec60bdc27b2ecf6e409062d-integrity/node_modules/@babel/runtime" as pattern ["@babel/runtime@^7.8.4"]. This could result in non-deterministic behavior, skipping.
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-native > react-native-codegen > jscodeshift@0.11.0" 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.
success Saved 64 new dependencies.
info Direct dependencies
โโ @babel/core@7.14.6
โโ @babel/runtime@7.14.6
โโ @react-native-community/eslint-config@3.0.0
โโ babel-jest@27.0.6
โโ eslint@7.29.0
โโ jest@27.0.6
โโ metro-react-native-babel-preset@0.66.0
info All dependencies
โโ @babel/core@7.14.6
โโ @babel/helper-remap-async-to-generator@7.14.5
โโ @babel/helper-wrap-function@7.14.5
โโ @babel/plugin-transform-async-to-generator@7.14.5
โโ @babel/runtime@7.14.6
โโ @eslint/eslintrc@0.4.2
โโ @jest/globals@27.0.6
โโ @jest/reporters@27.0.6
โโ @jest/test-sequencer@27.0.6
โโ @nodelib/fs.scandir@2.1.5
โโ @nodelib/fs.stat@2.0.5
โโ @nodelib/fs.walk@1.2.7
โโ @react-native-community/eslint-config@3.0.0
โโ @sinonjs/fake-timers@7.1.2
โโ @types/json-schema@7.0.7
โโ @types/prettier@2.3.0
โโ @typescript-eslint/eslint-plugin@4.28.1
โโ @typescript-eslint/experimental-utils@4.28.1
โโ @typescript-eslint/parser@4.28.1
โโ array-union@2.1.0
โโ astral-regex@2.0.0
โโ babel-jest@27.0.6
โโ babel-plugin-jest-hoist@27.0.6
โโ cjs-module-lexer@1.2.1
โโ dedent@0.7.0
โโ diff-sequences@27.0.6
โโ dir-glob@3.0.1
โโ eslint-plugin-react-hooks@4.2.0
โโ eslint-plugin-react-native@3.11.0
โโ eslint@7.29.0
โโ espree@7.3.1
โโ esquery@1.4.0
โโ fast-glob@3.2.6
โโ fastq@1.11.0
โโ file-entry-cache@6.0.1
โโ flat-cache@3.0.4
โโ flatted@3.1.1
โโ globby@11.0.4
โโ human-signals@2.1.0
โโ jest-changed-files@27.0.6
โโ jest-circus@27.0.6
โโ jest-cli@27.0.6
โโ jest-docblock@27.0.6
โโ jest-jasmine2@27.0.6
โโ jest-leak-detector@27.0.6
โโ jest-resolve-dependencies@27.0.6
โโ jest-serializer@27.0.6
โโ jest-watcher@27.0.6
โโ jest@27.0.6
โโ jsdom@16.6.0
โโ lodash.clonedeep@4.5.0
โโ lodash.merge@4.6.2
โโ lodash.truncate@4.4.2
โโ metro-react-native-babel-preset@0.66.0
โโ onetime@5.1.2
โโ path-type@4.0.0
โโ queue-microtask@1.2.3
โโ require-from-string@2.0.2
โโ reusify@1.0.4
โโ run-parallel@1.2.0
โโ slice-ansi@4.0.0
โโ table@6.7.1
โโ type-fest@0.20.2
โโ v8-to-istanbul@8.0.0
Done in 8.13s.
Run instructions for Android:
โข Have an Android emulator running (quickest way to get started), or a device connected.
โข cd "/home/flrnd/MyApp" && npx react-native run-android
But even doing it this way, if you check the directory, there is both javascript AND template directory with typescript version. Which fails to launch too.
> ls
android/ App.js app.json babel.config.js index.js ios/ LICENSE metro.config.js node_modules/ package.json README.md template/ template.config.js __tests__/ yarn.lock
@flrnd Looking at your CLI output I can't really see if you tried npm uninstall -g react-native-cli
first. But I can tell quite certainly that you are using the old React Native CLI. To prevent npx
from using any existing bins please try: npx --ignore-existing react-native init MyApp --template react-native-template-typescript
This seemed to do the trick for a lot of people, so we might also want to add it to the README.md
: #80 (comment)
I have the same problem when using the installed version. Reinstalling react-native-cli did not help. Deinstalling and using npx react-native init MyApp --template react-native-template-typescript
did work for me though.
Yeah, I actually tried uninstalling the first time and kept failing. Long story short, indeed I had a residual old version of react-native-cli
installed that I wasn't aware of, it was driving my crazy, ๐คท classic PEBKAC.
Thanks @AlisonYoon @radko93 and @emin93 for your patience ๐
Thank you. I hava a Error Error: Command failed: yarn add react-native
๏ผyour method helped me ๐