Error: The Angular Compiler requires TypeScript >=4.2.3 and <4.3.0 but 4.1.5 was found instead. code example
Example 1: ERROR in The Angular Compiler requires TypeScript >=4.0.0 and <4.1.0 but 3.4.5 was found instead.
npm i -D typescript@4.0.5
Example 2: ERROR in The Angular Compiler requires TypeScript >=3.4.0 and <3.6.0 but 4.1.5 was found instead.
Hi, TypeScript version should be ==3.4.5 instead of greater than 3.4.5.