I starting getting this error on my Angular app:
The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.3 was found instead
This is just because in your projects package.json
file has
eg."devDependencies": {"typescript": "~2.8.3"
}
and in your machine where angular cli installed has "typescript": "2.7.2"
version.
You can check this by ng -v
or ng v
.
So, just open package.json update your typescript version and run npm install
and you are done.