Angular CLIで作成したAngular 2プロジェクトにangular-in-memory-web-api
を追加しようとすると、いくつかの不満を感じています。ここ は私の現在の依存関係がpackage.json
内のオブジェクトです:Angular CLIで角メモリ内Web-APIを使用する
"dependencies": {
"@angular/common": "2.0.0",
"@angular/compiler": "2.0.0",
"@angular/core": "2.0.0",
"@angular/forms": "2.0.0",
"@angular/http": "2.0.0",
"@angular/platform-browser": "2.0.0",
"@angular/platform-browser-dynamic": "2.0.0",
"@angular/router": "3.0.0",
"@angular/upgrade": "2.0.0",
"core-js": "^2.4.1",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.12",
"systemjs": "0.19.27",
"zone.js": "^0.6.23",
"angular-in-memory-web-api": "0.1.13",
"bootstrap": "^3.3.6"
},
npm install
を実行しているとき、私は次のエラーを取得:
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
私は上記の警告に基づいて依存関係を更新しようとしたが、新になってしまいました同様の警告のリストと私は "私の尾を追いかけていたように感じ始めた。 Angular CLIで作成されたアプリにAngular In Memory Web APIを追加する簡単な方法はありますか?