在Angular 7版本中找不到模块'@ angular / compiler-cli / ngcc'

时间:2020-04-17 06:07:44

标签: angular webpack angular-cli npm-install

我尝试了所有类似ng -update的操作,重新安装了angular脚本,更新了TypeScript ...我做了所有可以在这里找到的操作,但是没有运气,错误仍然存​​在。

有人可以告诉我我错过了什么,以便我可以解决这个问题吗?

这是我的ng --version

    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 7.3.10
Node: 12.15.0
OS: linux x64
Angular: 6.1.10


Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.8.9
@angular-devkit/build-angular      0.901.1
@angular-devkit/build-ng-packagr   0.8.9
@angular-devkit/build-optimizer    0.8.9
@angular-devkit/build-webpack      0.901.1
@angular-devkit/core               0.8.9
@angular-devkit/schematics         7.3.10
@angular/cdk                       6.4.7
@angular/cli                       7.3.10
@angular/compiler                  6.0.9
@angular/language-service          4.4.7
@angular/material                  6.4.7
@ngtools/json-schema               1.1.0
@ngtools/webpack                   9.1.1
@schematics/angular                7.3.10
@schematics/update                 0.13.10
ng-packagr                         4.7.1
rxjs                               6.5.4
typescript                         3.8.3
webpack                            4.39.2

0 个答案:

没有答案