我有這個問題流星項目與angular2,如果我安裝(與流星npm安裝)包rxjs5.0.0 -beta.11的南說:Meteor - [email protected] or [email protected] UNMET DEPENDENCY
@angular/[email protected] requires a peer of [email protected] but none was installed.
如果我安裝的軟件包[email protected]的南說: 「
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
」
典型一個問題的swer「狗追尾巴」,如果我安裝beta.11它需要beta.6,如果我安裝beta.6要求它beta.11 這是我的package.json
{
"name": "angular2-meteor-base",
"private": true,
"scripts": {
"start": "meteor run",
"test": "meteor test --driver-package practicalmeteor:mocha",
"test:ci": "meteor test --once --driver-package dispatch:mocha-phantomjs"
},
"devDependencies": {
"chai": "3.5.0",
"chai-spies": "0.7.1"
},
"dependencies": {
"@angular/common": "2.0.0-rc.6",
"@angular/compiler": "2.0.0-rc.6",
"@angular/core": "2.0.0-rc.6",
"@angular/forms": "0.2.0",
"@angular/platform-browser": "2.0.0-rc.6",
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
"@angular/router": "3.0.0-alpha.8",
"angular2-google-maps": "^0.14.0",
"angular2-meteor": "0.6.2",
"angular2-meteor-accounts-ui": "^0.6.1",
"angular2-meteor-auto-bootstrap": "0.6.0",
"angular2-meteor-polyfills": "0.1.1",
"angular2-meteor-tests-polyfills": "0.0.2",
"es6-shim": "0.35.1",
"meteor-node-stubs": "0.2.3",
"ng2-pagination": "^0.3.5",
"reflect-metadata": "0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.6.12"
}
}
你能分享你的package.json嗎? – Sanket
添加package.json。 – Faber