Nativescript-cli: Dependency error when creating a new project

Created on 22 Jan 2021  路  5Comments  路  Source: NativeScript/nativescript-cli

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 (https://github.com/angular/angular/issues/39094) but then when I tried to run 'npm update' I've got another dependency issue with typescript this time.

Most helpful comment

See https://github.com/NativeScript/NativeScript/issues/9152#issuecomment-762445495

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

All 5 comments

See https://github.com/NativeScript/NativeScript/issues/9152#issuecomment-762445495

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

It works ! Thank you :D

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.
https://github.com/NativeScript/nativescript-schematics/issues/290

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

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!

Was this page helpful?
0 / 5 - 0 ratings