-
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 in The Angular Compiler requires TypeScript >=3.6.4 and <3.8.0 but 3.8.3 was found instead. #17134
Comments
@bryanrideshark You can manually update the typescript version (say, to 3.7.5) after "ng update". In general, I run into this type of issues with virtually every angular version upgrade. This question is really for the Angular Team, but is there a reason why the maximum typescript version should be set for each Angular release? For example, in this particular case, is there a reason why we should presume that Angular 9 will not work with future versions of typescript (or, even with 3.8.x), say, instead of following the semantic versioning convention? |
TypeScript does not strictly follow semantic versioning. Breaking changes are present in minor releases. Since the Angular compiler leverages TypeScript, each minor version needs to be validated before it can be officially supported. The combination of the
The For information regarding recommended update procedures, please see https://update.angular.io/#8.0:9.0 |
I found an older TypeScript GitHub issue that supports what @clydin is stating. Sigh. |
|
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
I just upgraded to Angular 9 using
ng update --all --force -C
. No other options worked.Now when I run
ng serve
, I get an error,ERROR in The Angular Compiler requires TypeScript >=3.6.4 and <3.8.0 but 3.8.3 was found instead.
Why did Angular update me to Typescript 3.8.3 if it's not supported?
The text was updated successfully, but these errors were encountered: