美文网首页我爱编程
The “@angular/compiler-cli” pack

The “@angular/compiler-cli” pack

作者: 懿小诺 | 来源:发表于2018-04-11 10:12 被阅读0次

通过ng new my-app创建项目后,

在ng serve --open时,会报如下错误

The “@angular/compiler-cli” package was not properly installed

解决方案如下

1、进入my-app目录,将node_modules文件删除

2、通过命令npm install,重新下载

相关文章

网友评论

    本文标题:The “@angular/compiler-cli” pack

    本文链接:https://www.haomeiwen.com/subject/rdkahftx.html