I'm trying to serve an angular application, but when attempting to downgrade the typescript I get the following error:
No matching version found for typescript@3.4.0.
If the package isn't present does anyone know how I can get this version typescript installed?
The error when I attempt to serve is the following:
The Angular Compiler requires TypeScript >=3.4.0 and <3.6.0 but 3.7.4 was found instead
Just found this question here because I had the same problem. The answer already mentioned in the comments and yep it was working.
Solution
npm uninstall typescript
npm install typescript@3.5.3
I was doing a training course and I had to downgrade for the example.