Open Splash34 opened 4 years ago
After downgrading typescript
you can skip the compatibility check with --force
and it should work.
However I'm not sure if your dependencies are correct - shouldn't @angular/compiler-cli
be also set to 10.1.0
?
Can confirm, I get the same result.
@rigor789 I tried downgrading the typescript version, after that I got many error's. However, won't ugraded angular/compiler-cli version cause more trouble?
@hinalt I'm not familiar with angular so not the best person to answer that, however Angular 10 (and soon 11) works with NativeScript, so I don't think the upgrade would cause much trouble. Maybe @NathanWalker and @edusperoni can help here!
I'm not even sure @angular/compiler-cli needs to be there, but yes, it should be 10.1.0.
Also, you don't need @angular/http.
Angular 11 just got released and it's already supported (we have an rc up but the current nativescript-angular 10 works with 11), and that uses Typescript >=4 I believe
@Splash34 I am having the same problem did you find any fix?
@Splash34 After updating to native script 7 cli compiler is asking for lower type script version
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug While updating / migrating my project to v7 typescript will get set to version 3.9.7 to be complaint for v7. This leads to an issue when starting the application.
When now downgrading "typescript": "3.5.3", we will receive an error message that the application is not compatible anymore.
To Reproduce Setup project with following dependencies:
Expected behavior Start application after upgrade with emulators.