Javascript 错误:找不到API编译器cli,函数_NGTOOLS_PRIVATE_API_2

Javascript 错误:找不到API编译器cli,函数_NGTOOLS_PRIVATE_API_2,javascript,angular,typescript,Javascript,Angular,Typescript,我在一个角度项目中工作,收到以下错误 $ ng serve Your global Angular CLI version (8.3.21) is greater than your local version (7.0.7). The local Angular CLI version is used. To disable this warning use "ng config -g cli.warnings.versionMismatch false". Schema vali

我在一个角度项目中工作,收到以下错误

    $ ng serve 
Your global Angular CLI version (8.3.21) is greater than your local
version (7.0.7). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
Error: Schema validation failed with the following errors:
  Data path ".builders['app-shell']" should have required property 'class'.
    at MergeMapSubscriber.project (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/@angular-devkit/core/src/workspace/workspace.js:215:42)
    at MergeMapSubscriber._tryNext (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
    at MergeMapSubscriber._next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
    at MergeMapSubscriber.notifyNext (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:92:26)
    at InnerSubscriber._next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/InnerSubscriber.js:28:21)
    at InnerSubscriber.Subscriber.next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
    at MapSubscriber._next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/operators/map.js:55:26)
    at MapSubscriber.Subscriber.next (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/Subscriber.js:67:18)
    at SwitchMapSubscriber.notifyNext (/Users/Chaklader/WebstormProjects/Catalog/node_modules/@angular/cli/node_modules/rxjs/internal/operators/switchMap.js:86:26)
提供了
package.json
文件

{
  "name": "kboepdevxvd.angular",
  "version": "0.0.0",
  "private": true,
  "dependencies": {
    "rxjs": "6.5.4",
    "tslib": "1.11.0",
    "core-js": "2.6.11",
    "zone.js": "0.10.2",
    "jasmine-core": "2.99.1",
    "@angular/core": "8.2.14",
    "@angular/forms": "8.2.14",
    "@angular/common": "8.2.14",
    "@angular/router": "8.2.14",
    "jasmine-marbles": "0.6.0",
    "@angular/compiler": "8.2.14",
    "web-animations-js": "2.3.2",
    "@angular/animations": "8.2.14",
    "@angular/platform-browser": "8.2.14",
    "angular-in-memory-web-api": "0.8.0",
    "@angular/platform-browser-dynamic": "8.2.14"
  },
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^0.900.3",
    "@angular/cli": "~7.0.2",
    "@angular/compiler-cli": "^9.0.2",
    "@angular/language-service": "~7.0.0",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "^4.4.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.1"
  }
}
我如何解决这个问题


这个问题很明显,但是,这是我第一次开始使用JavaScript语言,所以对我来说不是

将package.json从
“@angular devkit/build angular”:“^0.900.3”
更新为
“^0.12.4”


运行
npm安装

您好,您知道URL路径信息在项目中提供的位置吗?我去了
http://localhost:4200/
并看到一个空白页(尽管没有错误),您可以在使用
--端口4201
为应用程序提供服务时使用其他端口。如果您正在使用某些路由配置,请将其添加到您的问题中?谢谢。我使用这个项目:stackblitz.com/angular/kboepdevxvd?file=src%2Fapp%2Fproduct list%2Fproduct-list.component.html我在本地repo中克隆它并从那里运行。我希望看到他们在应用程序示例中提供的相同信息。我去了
http://localhost:4200/
什么也找不到。我如何查看应用程序的信息和路径?