ERROR in The Angular Compiler requires TypeScript >=3.6.4 and <3.8.0 but 3.8.2 was found instead ERROR in The Angular Compiler requires TypeScript >=3.6.4 and <3.8.0 but 3.8.2 was found instead angular angular

ERROR in The Angular Compiler requires TypeScript >=3.6.4 and <3.8.0 but 3.8.2 was found instead


Use the version which set ng update command: npm install typescript@3.7.5


This means that Angular doesn't support TypeScript 3.8.x yet.

You can bypass this error with angularCompilerOptions.disableTypeScriptVersionCheck: true option in

tsconfig.json

"angularCompilerOptions": {   ...   "disableTypeScriptVersionCheck": true,},

See also:


I had the same issue. I noticed my package-lock.json has typescript : 3.8.3. So I did npm i typescript@3.7.5 and build my app and it worked.