Skip to content

Dependency error when creating a new project #5482

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
JonathanPiquard opened this issue Jan 22, 2021 · 5 comments
Closed

Dependency error when creating a new project #5482

JonathanPiquard opened this issue Jan 22, 2021 · 5 comments

Comments

@JonathanPiquard
Copy link

JonathanPiquard commented Jan 22, 2021

Hi ! I'm getting an error when I'm trying to create a new Nativescript project.

Nativescript : 7.1.2
Angular CLI: 11.1.0
Node: 15.5.1
OS: linux x64

Dependency error

I attempted to resolve the issue this way :
I've cloned the template from github and then changed the version of the angular dependencies to 11.1.0 as suggested in another issue (angular/angular#39094) but then when I tried to run 'npm update' I've got another dependency issue with typescript this time.

@rigor789
Copy link
Member

See NativeScript/NativeScript#9152 (comment)

tl;dr
use node 14 & npm 6 until support is implemented for 15 & 7

@JonathanPiquard
Copy link
Author

It works ! Thank you :D

@JonathanPiquard
Copy link
Author

I've gotten straight into this issue. It's been months it's unresolved. Will you fix it ? There are no answer from the telerik team.
NativeScript/nativescript-schematics#290

@olaracuente
Copy link

Any update on this issue.
I have an apple M1. I was able to created a working project which is working(IOS,Android, Web), but suddenly when I tried to create a new one I get all the errors mentioned in this issue.

NativeScript version 7.2.0
Angular CLI: 11.2.0
npm version 7.5.2
node version 15.8.0

@rigor789
Copy link
Member

Any update on this issue.
I have an apple M1. I was able to created a working project which is working(IOS,Android, Web), but suddenly when I tried to create a new one I get all the errors mentioned in this issue.

NativeScript version 7.2.0
Angular CLI: 11.2.0
npm version 7.5.2
node version 15.8.0

Use npm 6 as mentioned throughout the issue, and the pinned/linked issue!

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

No branches or pull requests

4 participants