-
Notifications
You must be signed in to change notification settings - Fork 12k
-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Error while upgrading to Angular 10. #18477
Comments
Hi @DeepsiA, |
Hi @alan-agius4 , Also, the next step now failed with the same error. The installed local Angular CLI version is older than the latest stable version. |
You seem to be in an invalid state. I suggest to clear the local changes performed by the migrations that where run previously. Afterward run |
Hi @alan-agius4 , Thank you. Running Although, I am now stuck with a warning in angular.json,
Warning - Property ProjectName is not allowed. |
Can you share the entire angular.json please? |
Here, below is my angular.json code -
|
Along with that, I am also getting the following warnings on
I tried adding
in angular.json, but it didn't seem to help. |
Re the warnings, you’d need to add all the problematic packages ex: Closing as this issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Description
The latest release of Angular 10, requires us to update typescript version to 3.9 and above. However, while upgrading angular/core, I am landing into a dependency mismatch error, where @angular-devkit/build-angular requires typescript to be below 3.9.
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=3.6 < 3.9", would install "3.9.7")
🔬 Minimal Reproduction
Simple steps to reproduce this bug.
npm i -g @angular/cli
ng update @angular/cli
ng update @angular/core
The text was updated successfully, but these errors were encountered: