gpt4 book ai didi

angular - npm 安装后找不到模块 "@angular-devkit/build-angular"

转载 作者:行者123 更新时间:2023-12-03 19:31:59 29 4
gpt4 key购买 nike

<分区>

在运行 npm install 然后 npm update 我在使用 ng serve 时遇到了这个错误:

Could not find module "@angular-devkit/build-angular" from "C:\\Users\\Matt\\Coding\\chart".
Error: Could not find module "@angular-devkit/build-angular" from "C:\\Users\\Matt\\Coding\\chart".

然后检查 Angular 版本,build-angular 就在那里。

ng version

--

Package                            Version
------------------------------------------------------------
@angular-devkit/architect 0.11.0 (cli-only)
@angular-devkit/build-angular <error>
@angular-devkit/build-ng-packagr <error>
@angular-devkit/core 7.1.0 (cli-only)
@angular-devkit/schematics 7.1.0 (cli-only)
@schematics/angular 7.1.0 (cli-only)
@schematics/update 0.11.0 (cli-only)
ng-packagr <error>
rxjs 6.3.3 (cli-only)
typescript 3.1.6 (cli-only)

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com