Skip to content

v15 Instant Failure on "Ns Create" #5490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JimLynchCodes opened this issue Feb 3, 2021 · 2 comments
Closed

v15 Instant Failure on "Ns Create" #5490

JimLynchCodes opened this issue Feb 3, 2021 · 2 comments

Comments

@JimLynchCodes
Copy link

  • just installed node v15 (nvm i v15 && nvm use v15)

  • installed nativescript cli (npm i -g nativescript)

  • ran ns new and chose "Angular", "Side Drawer"

Get this error instantly:

ns create
Error while loading nativescript-cloud is: Default commands should be required before child commands

Let’s create a NativeScript app!

Answer the following questions to help us build the right app for you. (Note: you
can skip this prompt next time using the --template option, or the --ng, --react, --vue, --svelte, --ts, or --js flags.)

✔ First, what will be the name of your app? … foo

✔ Next, which style of NativeScript project would you like to use: › Angular

✔ Finally, which template would you like to start from: › SideDrawer
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @nativescript/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/zone.js
npm ERR! zone.js@"~0.11.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer zone.js@"~0.10.3" from @angular/[email protected]
npm ERR! node_modules/@angular/core
npm ERR! @angular/core@"~11.0.0" from the root project
npm ERR! peer @angular/core@"11.0.9" from @angular/[email protected]
npm ERR! node_modules/@angular/animations
npm ERR! @angular/animations@"~11.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/jim/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/jim/.npm/_logs/2021-02-03T15_27_32_250Z-debug.log
Command npm failed with exit code 1

@rigor789
Copy link
Member

rigor789 commented Feb 3, 2021

See #5482 (comment) & #5492

@JimLynchCodes
Copy link
Author

Thanks. This does create the project, but I'm still having the android issue mentioned here: #5487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants