[Resolved] ERROR in The Angular Compiler requires TypeScript >=3.6.4 and <3.9.0 but 3.9.7 was found instead.
I have created a web application with Angular 9.0 but after starting the application with the command below I got an error:
ng serve -o
And this is the error:
I don't know why and I need any explaining.
-
M0
Marry Christ Sep 17 2020
You can understand that :
Angular@9.1 is supported until typescript@3.8.3
And, angular@10 will be supported typescript@3.9So you can run the command below to resolve your issues.
npm i typescript@3.8
-
M-1
Marry Christ Sep 17 2020
You can update the TypeScript module to version 3.7.5 with using the command below:
npm install typescript@3.7.5
I hope it helpful for you.
-
S-1
Sandeep Kumar Sep 17 2020
You can refer the answers for this question on stackoverflow :)
* Type maximum 2000 characters.
* All comments have to wait approved before display.
* Please polite comment and respect questions and answers of others.