An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

再执行启动命令ng sng serve时报错了,错误如下:
An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

 

网上找了好多,都解决不了问题,最后发现@angular-devkit/build-angular这个包是在Angular 6.0中新引入的,安装即可,命令如下:

npm install -save-dev @angular-devkit/build-angular

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

 

转载自:https://blog.csdn.net/weixin_42740530/article/details/105990467

An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'

上一篇:SqlServer中计算MD5值


下一篇:基于 Kubernetes 部署千亿级数据搜索引擎 Milvus