0

在我的本地环境中它仍然有效。但继续集成服务器失败。我认为这发生在安装 ng2-bootstrap 之后。

    17-Oct-2016 18:33:57 npm ERR! peerinvalid The package @angular/compiler@2.1.0 does not satisfy its siblings' peerDependencies requirements!
    17-Oct-2016 18:33:57 npm ERR! peerinvalid Peer @angular/platform-browser-dynamic@2.1.0 wants @angular/compiler@2.1.0
    17-Oct-2016 18:33:57 npm ERR! peerinvalid Peer ng2-bootstrap@1.1.14 wants @angular/compiler@^2.0.0
    17-Oct-2016 18:33:57 npm ERR! peerinvalid Peer codelyzer@1.0.0-beta.0 wants @angular/compiler@^2.0.0
    17-Oct-2016 18:33:57 npm ERR! peerinvalid Peer @angular/compiler-cli@0.6.4 wants @angular/compiler@2.0.2
    17-Oct-2016 18:33:57 npm ERR! peerinvalid Peer @angular/platform-server@2.1.0 wants @angular/compiler@2.1.0

这是我的 package.json

"dependencies": {
    "@angular/common": "^2.0.1",
    "@angular/compiler": "^2.0.1",
    "@angular/core": "^2.0.1",
    "@angular/forms": "^2.0.1",
    "@angular/http": "^2.0.1",
    "@angular/platform-browser": "^2.0.1",
    "@angular/platform-browser-dynamic": "^2.0.1",
    "@angular/router": "^3.0.1",
    "core-js": "^2.4.1",
    "es-module-loader": "^1.0.0",
    "moment": "^2.15.1",
    "ng2-bootstrap": "^1.1.13",
    "reflect-metadata": "^0.1.8",
    "rxjs": "5.0.0-beta.12",
    "systemjs": "0.19.38",
    "zone.js": "0.6.25"   
  }

请帮我调试和解决依赖关系。

UPD。在具有空 angular2-seed 项目和上述依赖项的本地文件夹上:

在此处输入图像描述

4

0 回答 0