再执行启动命令ng s
或ng serve
时报错了,错误如下:
网上找了好多,都解决不了问题,最后发现@angular-devkit/build-angular这个包是在Angular 6.0中新引入的,安装即可,命令如下:
npm install -save-dev @angular-devkit/build-angular
转载自:https://blog.csdn.net/weixin_42740530/article/details/105990467
An unhandled exception occurred: Cannot find module '@angular-devkit/build-angular/package.json'