错误中的错误:模块C的元数据版本不匹配:/projects/youtube-angular/firestore-app/node_modules/angularfire2/index.d.ts,找到版本4,预期3,
我从未见过这个.我试图卸载所有内容并重新安装到最新版本,但仍然出现错误.没有其他人运行该项目似乎有这个问题.所以我猜这是一些本地设置或安装我有错但无法想出这个.
package.json
{
  "name": "firestore-app",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^4.2.4",
    "@angular/common": "^4.2.4",
    "@angular/compiler": "^4.2.4",
    "@angular/core": "^4.2.4",
    "@angular/forms": "^4.2.4",
    "@angular/http": "^4.2.4",
    "@angular/platform-browser": "^4.2.4",
    "@angular/platform-browser-dynamic": "^4.2.4",
    "@angular/router": "^4.2.4",
    "angularfire2": "^5.0.0-rc.4",
    "core-js": "^2.4.1",
    "firebase": "^4.6.2",
    "font-awesome": "^4.7.0",
    "jquery": "^3.2.1",
    "materialize-css": "^0.100.2",
    "rxjs": "^5.4.2",
    "zone.js": "^0.8.14"
  },
  "devDependencies": {
    "@angular/cli": "1.4.7",
    "@angular/compiler-cli": "^4.2.4",
    "@angular/language-service": "^4.2.4",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": …我在运行ng build命令时遇到以下错误.删除了node_modules文件夹和npm installe,给出了以下警告
npm WARN angular2-cool-storage@3.1.2 requires a peer of @angular/core@5.0.0 but none was installed.
npm WARN angular2-cool-storage@3.1.2 requires a peer of @angular/common@^5.0.0 but none was installed.
对于ng build下面的id deetail错误:
模块/node_modules/angular2-cool-storage/index.d.ts的元数据版本不匹配,找到版本4,预期3,解析/src/app/app.module.ts中的符号AppModule解析/ src /中的符号AppModule应用程序/ app.module.ts
Package.json是
{
  "name": "nova-angular",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^4.4.3",
    "@angular/cdk": "^2.0.0-beta.12",
    "@angular/common": "^4.4.3",
    "@angular/compiler": "^4.4.3",
    "@angular/core": "^4.4.3",
    "@angular/forms": "^4.4.3", …