0

Angular 9 support typescript >=3.6 and <3.8. But while updating angular 8 to 9 the cli is installing ts 3.8 which is not supported by angular 9 itself. enter image description here

1
  • It is solved. It's needed to update with --force flag. Then the typescript version need to be updated manually to any version >=3.6 and <3.6. As for example : npm install --save [email protected] Commented Mar 25, 2020 at 5:31

1 Answer 1

2

Upgrading to version 9 requires very specific actions. The good news is they are all documented here.

https://github.com/angular/angular-cli/issues/17297

Summary

Upgrade to latest version of 8 first. Then to 9. Using the --force option fixes your issue.

Sign up to request clarification or add additional context in comments.

2 Comments

I have updated to latest version of angular 8 as per the update steps stated in update documentation. Now using --force
Ok now go to 9 and use --force option

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.