再执行启动命令ng s或ng serve时报错了,错误如下:
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