ng serve出错,关于TypeScript的版本问题 已注销 2021-04-23 92 阅读1分钟 执行ng serve时报错: ERROR in The Angular Compiler requires TypeScript >=3.1.1 and ❤️.3.0 but 3.3.3333 was found instead. 解决方案 重新安装指定版本的typescript即可。 npm install typescript@3.1.1 ng serve成功: 要获取更多Jerry的原创文章,请关注公众号"汪子熙":