ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.3.0 but 3.9.10 was found instead.

运行ng serve时报错:

ERROR in The Angular Compiler requires TypeScript >=3.1.1 and <3.3.0 but 3.9.10 was found instead.

执行

npm install typescript@">=3.1.1 < 3.3.0" 
posted @ 2023-04-12 20:43  Lulus  阅读(65)  评论(0编辑  收藏  举报