ng 更新 @angular/cli @angular/core 。- 按照https://update.angular.io/#7.0:8.0中的指南从 7 升级到 8 时出现以下错误
> "@angular/core" (requires "^6.0.0" (extended), would install "8.0.0").```
Incompatible peer dependencies found. See above.
package.json has the below versions
"dependencies": {
"@angular/animations": "^7.0.4",
"@angular/common": "^7.0.3",
"@angular/compiler": "^7.0.3",
"@angular/core": "^7.0.3",
"@angular/forms": "^7.0.3",
"@angular/http": "^7.0.3",
.....
````