0
我尝试在角2使用以下命令安装火力地堡: npm install angularfire2 firebase --save
或npm install git+https://github.com/angular/angularfire2.git
为什么我无法在角度2中安装Firebase?
但是,不能正常工作。我得到的错误:
├── [email protected]
├── UNMET PEER DEPENDENCY [email protected]~3.3.x
├── [email protected]
└── UNMET PEER DEPENDENCY [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
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.
我的角度,CLI,NPM,节点和操作系统的版本是:
angular-cli: 1.0.0-beta.19-3
npm: 3.10.8
node: 7.0.0
os: linux x64
问题是什么?我需要升级我的angular-cli版本吗?