question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

An unexpected error occurred: "https://registry.yarnpkg.com/react-native-template-react-native-template-typescript: Not found"

See original GitHub issue

Bug

Trying to run exactly what is said in README.md of this package:

user@computer:~/workspace$ react-native init RNTEST --template react-native-template-typescript

Gives me this error

This will walk you through creating a new React Native project in /home/user/workspace/RNTEST
Using yarn v1.17.3
Installing react-native...
yarn add v1.17.3
info No lockfile found.
[1/4] Resolving packages...
warning react-native > create-react-class > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] Fetching packages...
info fsevents@1.2.9: The platform "linux" is incompatible with this module.
info "fsevents@1.2.9" 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.54.1" has unmet peer dependency "@babel/core@*".
warning " > react-native@0.60.5" has unmet peer dependency "react@16.8.6".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 391 new dependencies.
info Direct dependencies
└─ react-native@0.60.5
info All dependencies
β”œβ”€ @babel/generator@7.6.0
β”œβ”€ @babel/helper-builder-binary-assignment-operator-visitor@7.1.0
β”œβ”€ @babel/helper-builder-react-jsx@7.3.0
β”œβ”€ @babel/helper-call-delegate@7.4.4
β”œβ”€ @babel/helper-create-class-features-plugin@7.6.0
β”œβ”€ @babel/helper-define-map@7.5.5
β”œβ”€ @babel/helper-explode-assignable-expression@7.1.0
β”œβ”€ @babel/helper-hoist-variables@7.4.4
β”œβ”€ @babel/helper-module-transforms@7.5.5
β”œβ”€ @babel/helper-regex@7.5.5
β”œβ”€ @babel/helper-remap-async-to-generator@7.1.0
β”œβ”€ @babel/helper-wrap-function@7.2.0
β”œβ”€ @babel/helpers@7.6.0
β”œβ”€ @babel/highlight@7.5.0
β”œβ”€ @babel/plugin-external-helpers@7.2.0
β”œβ”€ @babel/plugin-proposal-export-default-from@7.5.2
β”œβ”€ @babel/plugin-syntax-class-properties@7.2.0
β”œβ”€ @babel/plugin-syntax-dynamic-import@7.2.0
β”œβ”€ @babel/plugin-syntax-export-default-from@7.2.0
β”œβ”€ @babel/plugin-syntax-nullish-coalescing-operator@7.2.0
β”œβ”€ @babel/plugin-syntax-object-rest-spread@7.2.0
β”œβ”€ @babel/plugin-syntax-optional-catch-binding@7.2.0
β”œβ”€ @babel/plugin-syntax-optional-chaining@7.2.0
β”œβ”€ @babel/plugin-syntax-typescript@7.3.3
β”œβ”€ @babel/plugin-transform-async-to-generator@7.5.0
β”œβ”€ @babel/plugin-transform-block-scoped-functions@7.2.0
β”œβ”€ @babel/plugin-transform-exponentiation-operator@7.2.0
β”œβ”€ @babel/plugin-transform-member-expression-literals@7.2.0
β”œβ”€ @babel/plugin-transform-object-assign@7.2.0
β”œβ”€ @babel/plugin-transform-object-super@7.5.5
β”œβ”€ @babel/plugin-transform-property-literals@7.2.0
β”œβ”€ @babel/plugin-transform-react-jsx-source@7.5.0
β”œβ”€ @babel/plugin-transform-regenerator@7.4.5
β”œβ”€ @babel/plugin-transform-runtime@7.6.0
β”œβ”€ @babel/plugin-transform-sticky-regex@7.2.0
β”œβ”€ @babel/plugin-transform-typescript@7.6.0
β”œβ”€ @babel/plugin-transform-unicode-regex@7.4.4
β”œβ”€ @babel/register@7.6.0
β”œβ”€ @babel/runtime@7.6.0
β”œβ”€ @cnakazawa/watch@1.0.3
β”œβ”€ @hapi/address@2.1.2
β”œβ”€ @hapi/bourne@1.3.2
β”œβ”€ @hapi/joi@15.1.1
β”œβ”€ @hapi/topo@3.1.4
β”œβ”€ @jest/fake-timers@24.9.0
β”œβ”€ @react-native-community/cli-platform-android@2.9.0
β”œβ”€ @react-native-community/cli-platform-ios@2.9.0
β”œβ”€ @react-native-community/cli@2.9.0
β”œβ”€ @types/istanbul-lib-report@1.1.1
β”œβ”€ @types/istanbul-reports@1.1.1
β”œβ”€ @types/stack-utils@1.0.1
β”œβ”€ @types/yargs-parser@13.1.0
β”œβ”€ @types/yargs@13.0.2
β”œβ”€ abort-controller@3.0.0
β”œβ”€ accepts@1.3.7
β”œβ”€ ansi-colors@1.1.0
β”œβ”€ ansi-cyan@0.1.1
β”œβ”€ ansi-escapes@3.2.0
β”œβ”€ ansi-fragments@0.2.1
β”œβ”€ ansi-gray@0.1.1
β”œβ”€ ansi-red@0.1.1
β”œβ”€ ansi-regex@4.1.0
β”œβ”€ argparse@1.0.10
β”œβ”€ arr-flatten@1.1.0
β”œβ”€ array-filter@0.0.1
β”œβ”€ array-map@0.0.0
β”œβ”€ array-reduce@0.0.0
β”œβ”€ array-slice@0.2.3
β”œβ”€ art@0.10.3
β”œβ”€ asap@2.0.6
β”œβ”€ assign-symbols@1.0.0
β”œβ”€ astral-regex@1.0.0
β”œβ”€ async-limiter@1.0.1
β”œβ”€ async@2.6.3
β”œβ”€ atob@2.1.2
β”œβ”€ babel-plugin-dynamic-import-node@2.3.0
β”œβ”€ babel-plugin-syntax-trailing-function-commas@7.0.0-beta.0
β”œβ”€ balanced-match@1.0.0
β”œβ”€ base@0.11.2
β”œβ”€ base64-js@1.3.1
β”œβ”€ basic-auth@2.0.1
β”œβ”€ big-integer@1.6.45
β”œβ”€ bplist-creator@0.0.7
β”œβ”€ bplist-parser@0.1.1
β”œβ”€ brace-expansion@1.1.11
β”œβ”€ braces@2.3.2
β”œβ”€ bser@2.1.0
β”œβ”€ buffer-crc32@0.2.13
β”œβ”€ bytes@3.0.0
β”œβ”€ cache-base@1.0.1
β”œβ”€ caller-callsite@2.0.0
β”œβ”€ caller-path@2.0.0
β”œβ”€ capture-exit@2.0.0
β”œβ”€ chardet@0.4.2
β”œβ”€ ci-info@2.0.0
β”œβ”€ class-utils@0.3.6
β”œβ”€ cli-spinners@2.2.0
β”œβ”€ cli-width@2.2.0
β”œβ”€ cliui@3.2.0
β”œβ”€ clone@1.0.4
β”œβ”€ code-point-at@1.1.0
β”œβ”€ collection-visit@1.0.0
β”œβ”€ color-convert@1.9.3
β”œβ”€ color-name@1.1.3
β”œβ”€ color-support@1.1.3
β”œβ”€ colorette@1.1.0
β”œβ”€ commander@2.20.0
β”œβ”€ commondir@1.0.1
β”œβ”€ compressible@2.0.17
β”œβ”€ compression@1.7.4
β”œβ”€ concat-map@0.0.1
β”œβ”€ concat-stream@1.6.2
β”œβ”€ convert-source-map@1.6.0
β”œβ”€ copy-descriptor@0.1.1
β”œβ”€ core-js@2.6.9
β”œβ”€ core-util-is@1.0.2
β”œβ”€ cosmiconfig@5.2.1
β”œβ”€ create-react-class@15.6.3
β”œβ”€ cross-spawn@5.1.0
β”œβ”€ dayjs@1.8.16
β”œβ”€ 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
β”œβ”€ dom-walk@0.1.1
β”œβ”€ ee-first@1.1.1
β”œβ”€ encoding@0.1.12
β”œβ”€ end-of-stream@1.4.1
β”œβ”€ envinfo@7.3.1
β”œβ”€ error-ex@1.3.2
β”œβ”€ errorhandler@1.5.1
β”œβ”€ esprima@4.0.1
β”œβ”€ etag@1.8.1
β”œβ”€ event-target-shim@5.0.1
β”œβ”€ eventemitter3@3.1.2
β”œβ”€ expand-brackets@2.1.4
β”œβ”€ external-editor@2.2.0
β”œβ”€ extglob@2.0.4
β”œβ”€ fancy-log@1.3.3
β”œβ”€ fbjs-css-vars@1.0.2
β”œβ”€ fbjs-scripts@1.2.0
β”œβ”€ figures@2.0.0
β”œβ”€ fill-range@4.0.0
β”œβ”€ finalhandler@1.1.2
β”œβ”€ find-cache-dir@2.1.0
β”œβ”€ for-in@1.0.2
β”œβ”€ fresh@0.5.2
β”œβ”€ fs-extra@7.0.1
β”œβ”€ fs.realpath@1.0.0
β”œβ”€ function-bind@1.1.1
β”œβ”€ get-stream@4.1.0
β”œβ”€ get-value@2.0.6
β”œβ”€ glob@7.1.4
β”œβ”€ global@4.4.0
β”œβ”€ growly@1.3.0
β”œβ”€ has-symbols@1.0.0
β”œβ”€ has-value@1.0.0
β”œβ”€ has-values@1.0.0
β”œβ”€ hermesvm@0.1.1
β”œβ”€ hosted-git-info@2.8.4
β”œβ”€ http-errors@1.7.3
β”œβ”€ iconv-lite@0.4.24
β”œβ”€ image-size@0.6.3
β”œβ”€ import-fresh@2.0.0
β”œβ”€ imurmurhash@0.1.4
β”œβ”€ inflight@1.0.6
β”œβ”€ inherits@2.0.4
β”œβ”€ inquirer@3.3.0
β”œβ”€ invert-kv@1.0.0
β”œβ”€ is-accessor-descriptor@1.0.0
β”œβ”€ is-arrayish@0.2.1
β”œβ”€ is-ci@2.0.0
β”œβ”€ is-data-descriptor@1.0.0
β”œβ”€ is-descriptor@1.0.2
β”œβ”€ is-directory@0.3.1
β”œβ”€ is-plain-object@2.0.4
β”œβ”€ is-promise@2.1.0
β”œβ”€ is-windows@1.0.2
β”œβ”€ isarray@1.0.0
β”œβ”€ isexe@2.0.0
β”œβ”€ jest-get-type@24.9.0
β”œβ”€ jest-message-util@24.9.0
β”œβ”€ jest-mock@24.9.0
β”œβ”€ jest-serializer@24.9.0
β”œβ”€ jest-util@24.9.0
β”œβ”€ jest-validate@24.9.0
β”œβ”€ jest-worker@24.9.0
β”œβ”€ jetifier@1.6.4
β”œβ”€ js-tokens@4.0.0
β”œβ”€ js-yaml@3.13.1
β”œβ”€ jsc-android@245459.0.0
β”œβ”€ jsesc@2.5.2
β”œβ”€ json-parse-better-errors@1.0.2
β”œβ”€ json-stable-stringify@1.0.1
β”œβ”€ json5@2.1.0
β”œβ”€ jsonfile@4.0.0
β”œβ”€ kind-of@3.2.2
β”œβ”€ klaw@1.3.1
β”œβ”€ lcid@1.0.0
β”œβ”€ leven@3.1.0
β”œβ”€ load-json-file@2.0.0
β”œβ”€ locate-path@3.0.0
β”œβ”€ lodash@4.17.15
β”œβ”€ log-symbols@2.2.0
β”œβ”€ logkitty@0.6.1
β”œβ”€ loose-envify@1.4.0
β”œβ”€ lru-cache@4.1.5
β”œβ”€ make-dir@2.1.0
β”œβ”€ makeerror@1.0.11
β”œβ”€ map-age-cleaner@0.1.3
β”œβ”€ map-visit@1.0.0
β”œβ”€ mem@1.1.0
β”œβ”€ merge-stream@1.0.1
β”œβ”€ metro-babel7-plugin-react-transform@0.54.1
β”œβ”€ metro-config@0.54.1
β”œβ”€ metro-inspector-proxy@0.54.1
β”œβ”€ metro-minify-uglify@0.54.1
β”œβ”€ metro-react-native-babel-transformer@0.54.1
β”œβ”€ metro-source-map@0.55.0
β”œβ”€ metro-symbolicate@0.55.0
β”œβ”€ metro@0.54.1
β”œβ”€ mime-db@1.41.0
β”œβ”€ mime-types@2.1.11
β”œβ”€ mime@2.4.4
β”œβ”€ min-document@2.19.0
β”œβ”€ minimatch@3.0.4
β”œβ”€ minimist@1.2.0
β”œβ”€ mixin-deep@1.3.2
β”œβ”€ mkdirp@0.5.1
β”œβ”€ morgan@1.9.1
β”œβ”€ ms@2.1.2
β”œβ”€ mute-stream@0.0.7
β”œβ”€ nanomatch@1.2.13
β”œβ”€ negotiator@0.6.2
β”œβ”€ nice-try@1.0.5
β”œβ”€ node-fetch@2.6.0
β”œβ”€ node-int64@0.4.0
β”œβ”€ node-modules-regexp@1.0.0
β”œβ”€ node-notifier@5.4.3
β”œβ”€ normalize-package-data@2.5.0
β”œβ”€ normalize-path@2.1.1
β”œβ”€ number-is-nan@1.0.1
β”œβ”€ ob1@0.55.0
β”œβ”€ object-assign@4.1.1
β”œβ”€ object-copy@0.1.0
β”œβ”€ object-keys@1.1.1
β”œβ”€ object.assign@4.1.0
β”œβ”€ on-headers@1.0.2
β”œβ”€ once@1.4.0
β”œβ”€ onetime@2.0.1
β”œβ”€ open@6.4.0
β”œβ”€ options@0.0.6
β”œβ”€ ora@3.4.0
β”œβ”€ os-locale@2.1.0
β”œβ”€ os-tmpdir@1.0.2
β”œβ”€ p-defer@1.0.0
β”œβ”€ p-is-promise@2.1.0
β”œβ”€ p-limit@2.2.1
β”œβ”€ p-locate@3.0.0
β”œβ”€ p-try@2.2.0
β”œβ”€ parse-json@4.0.0
β”œβ”€ parse-node-version@1.0.1
β”œβ”€ pascalcase@0.1.1
β”œβ”€ path-is-absolute@1.0.1
β”œβ”€ path-key@2.0.1
β”œβ”€ path-parse@1.0.6
β”œβ”€ path-type@2.0.0
β”œβ”€ pirates@4.0.1
β”œβ”€ pkg-dir@3.0.0
β”œβ”€ plist@3.0.1
β”œβ”€ plugin-error@0.1.2
β”œβ”€ posix-character-classes@0.1.1
β”œβ”€ pretty-format@24.9.0
β”œβ”€ private@0.1.8
β”œβ”€ process-nextick-args@2.0.1
β”œβ”€ process@0.11.10
β”œβ”€ prop-types@15.7.2
β”œβ”€ pseudomap@1.0.2
β”œβ”€ pump@3.0.0
β”œβ”€ range-parser@1.2.1
β”œβ”€ react-deep-force-update@1.1.2
β”œβ”€ react-devtools-core@3.6.3
β”œβ”€ react-is@16.9.0
β”œβ”€ react-native@0.60.5
β”œβ”€ react-proxy@1.1.8
β”œβ”€ read-pkg-up@2.0.0
β”œβ”€ read-pkg@2.0.0
β”œβ”€ readable-stream@2.3.6
β”œβ”€ regenerate-unicode-properties@8.1.0
β”œβ”€ regenerator-transform@0.14.1
β”œβ”€ regexpu-core@4.6.0
β”œβ”€ regjsgen@0.5.0
β”œβ”€ regjsparser@0.6.0
β”œβ”€ remove-trailing-separator@1.1.0
β”œβ”€ repeat-element@1.1.3
β”œβ”€ resolve-from@3.0.0
β”œβ”€ resolve-url@0.2.1
β”œβ”€ resolve@1.12.0
β”œβ”€ restore-cursor@2.0.0
β”œβ”€ ret@0.1.15
β”œβ”€ rimraf@2.7.1
β”œβ”€ rsvp@4.8.5
β”œβ”€ run-async@2.3.0
β”œβ”€ rx-lite-aggregates@4.0.8
β”œβ”€ rx-lite@4.0.8
β”œβ”€ rxjs@5.5.12
β”œβ”€ safer-buffer@2.1.2
β”œβ”€ sane@4.1.0
β”œβ”€ sax@1.2.4
β”œβ”€ scheduler@0.14.0
β”œβ”€ semver@5.7.1
β”œβ”€ send@0.17.1
β”œβ”€ serialize-error@2.1.0
β”œβ”€ serve-static@1.14.1
β”œβ”€ set-blocking@2.0.0
β”œβ”€ set-value@2.0.1
β”œβ”€ setprototypeof@1.1.1
β”œβ”€ shebang-regex@1.0.0
β”œβ”€ shell-quote@1.6.1
β”œβ”€ shellwords@0.1.1
β”œβ”€ signal-exit@3.0.2
β”œβ”€ simple-plist@1.0.0
β”œβ”€ slice-ansi@2.1.0
β”œβ”€ slide@1.1.6
β”œβ”€ snapdragon-node@2.1.1
β”œβ”€ snapdragon-util@3.0.1
β”œβ”€ source-map-resolve@0.5.2
β”œβ”€ source-map-support@0.5.13
β”œβ”€ source-map-url@0.4.0
β”œβ”€ spdx-correct@3.1.0
β”œβ”€ spdx-exceptions@2.2.0
β”œβ”€ split-string@3.1.0
β”œβ”€ sprintf-js@1.0.3
β”œβ”€ stack-utils@1.0.2
β”œβ”€ stacktrace-parser@0.1.7
β”œβ”€ static-extend@0.1.2
β”œβ”€ statuses@1.5.0
β”œβ”€ stream-buffers@2.2.0
β”œβ”€ string_decoder@1.1.1
β”œβ”€ string-width@2.1.1
β”œβ”€ strip-ansi@3.0.1
β”œβ”€ strip-bom@3.0.0
β”œβ”€ supports-color@5.5.0
β”œβ”€ symbol-observable@1.0.1
β”œβ”€ temp@0.8.3
β”œβ”€ throat@4.1.0
β”œβ”€ through@2.3.8
β”œβ”€ through2@2.0.5
β”œβ”€ time-stamp@1.1.0
β”œβ”€ tmp@0.0.33
β”œβ”€ 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
β”œβ”€ trim-right@1.0.1
β”œβ”€ type-fest@0.7.1
β”œβ”€ typedarray@0.0.6
β”œβ”€ 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.1.0
β”œβ”€ unicode-property-aliases-ecmascript@1.0.5
β”œβ”€ union-value@1.0.1
β”œβ”€ universalify@0.1.2
β”œβ”€ unpipe@1.0.0
β”œβ”€ unset-value@1.0.0
β”œβ”€ urix@0.1.0
β”œβ”€ use@3.1.1
β”œβ”€ util-deprecate@1.0.2
β”œβ”€ utils-merge@1.0.1
β”œβ”€ uuid@3.3.3
β”œβ”€ validate-npm-package-license@3.0.4
β”œβ”€ vary@1.1.2
β”œβ”€ walker@1.0.7
β”œβ”€ wcwidth@1.0.1
β”œβ”€ whatwg-fetch@3.0.0
β”œβ”€ which@1.3.1
β”œβ”€ write-file-atomic@1.3.4
β”œβ”€ xcode@2.0.0
β”œβ”€ xmlbuilder@9.0.7
β”œβ”€ xmldoc@1.1.2
β”œβ”€ xmldom@0.1.27
β”œβ”€ xpipe@1.0.5
β”œβ”€ xtend@4.0.2
β”œβ”€ y18n@3.2.1
└─ yargs-parser@7.0.0
Done in 5.66s.
info Setting up new React Native app in /home/user/workspace/RNTEST
info Fetching template react-native-template-react-native-template-typescript...
yarn add v1.17.3
[1/4] Resolving packages...
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
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/user/workspace/RNTEST/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarn remove v1.17.3
[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:9290) UnhandledPromiseRejectionWarning: Error: Command failed: yarn add react-native-template-react-native-template-typescript
    at makeError (/home/user/workspace/RNTEST/node_modules/execa/index.js:174:9)
    at Promise.all.then.arr (/home/user/workspace/RNTEST/node_modules/execa/index.js:278:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:9290) 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(). (rejection id: 3)
(node:9290) [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.
user@latitude:~/workspace$ react-native init RNTEST --template react-native-template-typescript

Environment info

React native info output:

warn Package react has been ignored because it contains invalid configuration. Reason: Cannot find module 'react/package.json'
warn Package @react-native-community/eslint-config has been ignored because it contains invalid configuration. Reason: Cannot find module '@react-native-community/eslint-config/package.json'
warn Package babel-jest has been ignored because it contains invalid configuration. Reason: Cannot find module 'babel-jest/package.json'
warn Package jest has been ignored because it contains invalid configuration. Reason: Cannot find module 'jest/package.json'
warn Package react-test-renderer has been ignored because it contains invalid configuration. Reason: Cannot find module 'react-test-renderer/package.json'
info Fetching system and libraries information...
System:
    OS: Linux 5.1 Ubuntu 18.04.3 LTS (Bionic Beaver)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Memory: 8.61 GB / 15.56 GB
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 10.16.2 - ~/.nvm/versions/node/v10.16.2/bin/node
    Yarn: 1.17.3 - /usr/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v10.16.2/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-28 | Google Play Intel x86 Atom_64
      Android NDK: 20.0.5594570
  npmPackages:
    react-native: 0.60.5 => 0.60.5 
  npmGlobalPackages:
    react-native-cli: 2.0.1

Library version: 0.60.5

Steps To Reproduce

  1. proceed with official getting started guide for RN (React Native CLI Quickstart)
  2. try to init TS template …

Describe what you expected to happen:

  1. should not crash

Reproducible sample code

I have no code, it is not related to this issue

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:22

github_iconTop GitHub Comments

603reactions
guhyeoncommented, Oct 12, 2019

remove legacy react-native-cli npm uninstall -g react-native-cli

install new thing npm i -g @react-native-community/cli

and you can new project with react-native-template-typescript npx react-native init MyApp --template react-native-template-typescript

239reactions
radko93commented, Sep 23, 2019

Please read readme and how to use this template.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
error An unexpected error occurred: "https://https://registry.yarnpkg.com/@nrwl/schematics: Not found". ... In Ubuntu it seems to work just fine.
Read more >
Ask Question - Stack Overflow
An unexpected error occurred: "https://registry.yarnpkg.com/@tsnpm/uikit/-/uikit-0.7.26.tgz: Request failed \"404 Not Found\".
Read more >
yarn install - Package not found - Visual Studio Feedback
I have a `yarn install` script in my pipeline for a node project, but it fails to find a certain package: error-ex. This...
Read more >
Feedback & Bug Reports - CircleCI Discuss
An unexpected error occurred: "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz: ESOCKETTIMEDOUT" ... Feels like network is unstable on theΒ ...
Read more >
yarnpkg - Bountysource
An unexpected error occurred: "https://registry.yarnpkg.com/ : Not found"
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found