如何阻止Yeoman AngularJS在全球范围内安装Karma时出现错误

时间:2016-01-05 22:53:07

标签: node.js npm yeoman

我正在尝试启动Yeoman AngularJS项目,并在项目安装结束时收到以下错误。我通过npm install -g karma和npm install -g phantomjs安装了所有这些模块。为什么我仍然看到这些错误,即使我全局安装了业力和幻影?

├── UNMET PEER DEPENDENCY jasmine-core@*
├── UNMET PEER DEPENDENCY karma@^0.13.0 || >= 0.14.0-rc.0
├── karma-jasmine@0.3.6
├─┬ karma-phantomjs-launcher@0.2.3
│ └── lodash@3.10.1
└── UNMET PEER DEPENDENCY phantomjs@>=1.9

npm WARN karma-phantomjs-launcher@0.2.3 requires a peer of karma@>=0.9 but none was installed.
npm WARN karma-phantomjs-launcher@0.2.3 requires a peer of phantomjs@>=1.9 but none was installed.
npm WARN karma-jasmine@0.3.6 requires a peer of jasmine-core@* but none was installed.
npm WARN grunt-karma@0.12.1 requires a peer of karma@^0.13.0 || >= 0.14.0-rc.0 but none was installed.

0 个答案:

没有答案