1
私はこのオープンソースappを設定しています。パッケージ@ angular/core @ 2.0.0-rc.1は、兄弟のpeerDependencies要件を満たしていません!
私はtns run android --emulator
を実行すると、それは私に、このエラーを与える:
Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements!
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 1 }
Trying to track exception with message 'Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements!'.
しかし、私は、ログファイルをチェックすると、ピアの依存関係は、以下のとおりです。
code: 'EPEERINVALID',
packageName: '@angular/core',
packageVersion: '2.0.0-rc.1',
peersDepending:
{ '@angular/[email protected]': '2.0.0-rc.1',
'@angular/[email protected]': '2.0.0-rc.1',
'@angular/[email protected]': '^2.0.0-rc.4',
'@angular/[email protected]': '2.0.0-rc.1',
'@angular/[email protected]': '2.0.0-rc.1',
'@angular/[email protected]': '2.0.0-rc.1',
'@angular/[email protected]': '^2.0.0-rc' } }
マイpackage.jsonファイル:
1 {
2 "description": "NativeScript Application",
3 "license": "SEE LICENSE IN <your-license-filename>",
4 "readme": "NativeScript Application",
5 "repository": "<fill-your-repository-here>",
6 "nativescript": {
7 "id": "org.nativescript.mobile",
8 "tns-ios": {
9 "version": "2.0.1"
10 },
11 "tns-android": {
12 "version": "2.0.0"
13 }
14 },
15 "dependencies": {
16 "@angular/core": "2.0.0-rc.1",
17
18 "@angular/common": "2.0.0-rc.1",
19 "@angular/compiler": "2.0.0-rc.1",
20 "@angular/http": "^2.0.0-rc.4",
21 "@angular/platform-browser": "2.0.0-rc.1",
22 "@angular/platform-browser-dynamic": "2.0.0-rc.1",
23 "@angular/platform-server": "2.0.0-rc.1",
24 "@angular/router-deprecated": "^2.0.0-rc",
25
26 "nativescript-angular": "0.1.1",
27 "nativescript-pulltorefresh": "^1.1.4",
28 "nativescript-socket.io": "^0.1.6",
29 "tns-core-modules": "^2.0.0"
30 },
31 "devDependencies": {
32 "babel-traverse": "6.9.0",
33 "babel-types": "6.9.1",
34 "babylon": "6.8.0",
35 "filewalker": "0.1.2",
36 "lazy": "1.0.11",
37 "nativescript-dev-typescript": "^0.3.2",
38 "typescript": "^1.8.10"
39 }
40 }
この問題を解決する方法はありますか?私は今、この問題を数時間戦ってきました。いくつかの助けを請うでしょう。
ここでテキストを入力するだけで、スタックオーバーフローが発生し、この質問に投稿できます。