当我服务时,我收到了以下错误消息。我已经完成了npm install -g @ angular / cli,npm install -g @ angular / cli @ 6.0.8 npm缓存清理--force npm install -g @ angular / cli @ latest npm安装node-sass -g 但对我没有任何帮助,请帮助
[错误]错误:找不到构建器@ angular-devkit / build-angular:dev-server的实现 在WorkspaceNodeModulesArchitectHost.resolveBuilder(F:\ Platform \ MicroServices_v2 \ 02 Solutions \ Hospitality \ P365Cloud.Hotelx \ 05 UI \ P365Cloud.Hotelx.Front.UI \ ClientApp \ node_modules @ angular \ cli \ node_modules @ angular-devkit \ architect \ node \ node-modules-architect-host.js:49:19) 在ServeCommand.initialize(F:\ Platform \ MicroServices_v2 \ 02 Solutions \ Hospitality \ P365Cloud.Hotelx \ 05 UI \ P365Cloud.Hotelx.Front.UI \ ClientApp \ node_modules @ angular \ cli \ models \ architect-command.js:71: 63) 在异步ServeCommand.validateAndRun(F:\ Platform \ MicroServices_v2 \ 02 Solutions \ Hospitality \ P365Cloud.Hotelx \ 05 UI \ P365Cloud.Hotelx.Front.UI \ ClientApp \ node_modules @ angular \ cli \ models \ command.js:124:9 ) 在异步Object.runCommand(F:\ Platform \ MicroServices_v2 \ 02 Solutions \ Hospitality \ P365Cloud.Hotelx \ 05 UI \ P365Cloud.Hotelx.Front.UI \ ClientApp \ node_modules @ angular \ cli \ models \ command-runner.js:186 :24) 在异步default_1(F:\ Platform \ MicroServices_v2 \ 02 Solutions \ Hospitality \ P365Cloud.Hotelx \ 05 UI \ P365Cloud.Hotelx.Front.UI \ ClientApp \ node_modules @ angular \ cli \ lib \ cli \ index.js:54:31 )
答案 0 :(得分:-1)
尝试使用ng update命令升级Angular CLI版本。