c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
Ionic framework

ERROR in The Angular Compiler requires TypeScript >=3.9.2 and <4.0.0 but 3.8.3 was found instead

| | ionic , mobile

I got this following error  "The Angular Compiler requires TypeScript >=3.9.2 and <4.0.0 but 3.8.3 was found instead." when build the ionic application using the command ionic cordova build android.

When i installed the latest typescript version using the following command,

npm install i -D typescript@latest

it works

Note: When you want to downgrade or upgrade with specific supported versions:

npm i -D typescript@x.x.x

replace x with version..

You can also check the currect  version of TypeScript using this command

tsc -v

it will return like this