如何使用angular-cli

时间:2016-11-05 19:36:13

标签: angular angular-cli

当我尝试像这样安装ng2-prism时:

ng install ng2-prism

我收到错误:

  

包rxjs@5.0.0-beta.12不满足其兄弟姐妹'   peerDependencies要求!错误:包rxjs@5.0.0-beta.12   不满足其兄弟姐妹' peerDependencies要求!       at /home/codesave-dash/node_modules/npm/lib/install.js:125:32       at /home/codesave-dash/node_modules/npm/lib/install.js:268:7       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:142:5       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       at cb(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:47:24)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:263:14       在asyncMap(/home/codesave-dash/node_modules/npm/node_modules/slide/lib/async-map.js:27:18)       在下一个(/home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:234:5)       at /home/codesave-dash/node_modules/npm/node_modules/read-installed/read-installed.js:179:7       在LOOP(fs.js:1534:14)       at doNTCallback0(node.js:419:9)       at process._tickCallback(node.js:348:13)

任何人都知道如何修复它?

0 个答案:

没有答案