install.js does not exist in react-native-template-ui-kitten-typescript
See original GitHub issueI tried to initialize the project using react-native init UiKittenTS --template ui-kitten-typescript
but got the error below
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/parser@7.6.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.1
ββ @hapi/bourne@1.3.2
ββ @hapi/joi@15.1.1
ββ @hapi/topo@3.1.3
ββ @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
ββ esutils@2.0.3
ββ 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
ββ 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
ββ 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 6.82s.
info Setting up new React Native app in /xxxxxxxxx/UiKittenTS
info Fetching template react-native-template-ui-kitten-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()
[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-community/eslint-config@0.0.3" has unmet peer dependency "eslint@>=5".
warning "@react-native-community/eslint-config > eslint-plugin-eslint-comments@3.1.2" has unmet peer dependency "eslint@>=4.19.1".
warning "@react-native-community/eslint-config > babel-eslint@10.0.1" has unmet peer dependency "eslint@>= 4.12.1".
warning "@react-native-community/eslint-config > eslint-plugin-react-native@3.6.0" has unmet peer dependency "eslint@^3.17.0 || ^4 || ^5".
warning "@react-native-community/eslint-config > eslint-plugin-react@7.12.4" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-react-hooks@1.7.0" has unmet peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "@react-native-community/eslint-config > eslint-plugin-jest@22.4.1" has unmet peer dependency "eslint@>=5".
warning "@react-native-community/eslint-config > eslint-plugin-flowtype@2.50.3" has unmet peer dependency "eslint@>=2.0.0".
[4/4] Building fresh packages...
error /xxxxxxxxx/UiKittenTS/node_modules/react-native-template-ui-kitten-typescript: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /xxxxxxxxx/UiKittenTS/node_modules/react-native-template-ui-kitten-typescript
Output:
internal/modules/cjs/loader.js:584
throw err;
^
Error: Cannot find module '/xxxxxxxxx/UiKittenTS/node_modules/react-native-template-ui-kitten-typescript/install.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
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-ui-kitten-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-ui-kitten-typescript. This is not a critical error, you can work on your app.
(node:3435) UnhandledPromiseRejectionWarning: Error: Command failed: yarn add react-native-template-ui-kitten-typescript
at makeError (/xxxxxxxxx/UiKittenTS/node_modules/execa/index.js:174:9)
at Promise.all.then.arr (/xxxxxxxxx/UiKittenTS/node_modules/execa/index.js:278:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:3435) 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:3435) [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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
create-react-app, installation error ("command not found")
Step # 1:- Make sure, Node js and React js is installed globally. You can check Nodejs by node --version . If not...
Read more >npm does not support Node.js v10.15.2 Β· Issue #1877 - GitHub
Recently I ran into this problem, and I just discovered there is a compatible version in debian-backports . In my case I can...
Read more >Downloading and installing Node.js and npm
Using a Node installer to install Node.js and npm. If you are unable to use a Node version manager, you can use a...
Read more >Installing the SDK for JavaScript - AWS Documentation
Learn about installing AWS SDK for JavaScript, a JavaScript API for Amazon Web Services, ... Not all services are immediately available in the...
Read more >How To Install Node.js on Ubuntu 22.04 - DigitalOcean
This will not be the latest version, but it should be stable and ... Node.js v14, v16, and v18 are available as of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Anyone facing this issue, please follow this guide. We got this fixed in #623 and it will be available soon in v4.2 stable
Weβve already faced this issue and started working on it. Thanks for reporting