为了账号安全,请及时绑定邮箱和手机立即绑定

老师您好,我在安装generator-angular的时候遇到问题

我用的是MacBook,当我执行:

sudo npm install -g generator-angular

的时候,就会出现下面的错误提示:

npm WARN peerDependencies The peer dependency generator-karma@>=0.9.0 included from generator-angular will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 

npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.

npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-angular will no

npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 

npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.


我去google了一下,有些人也碰到了和我差不多的问题,有些是uninstall 了generatro-karma,我也试了试,结果依然不行。


老师,您也碰到过类似的问题吗,您是如果解决的?


谢谢。

正在回答

14 回答

顶下,我也是

0 回复 有任何疑惑可以回复我~

我也是遇到这个问题了

0 回复 有任何疑惑可以回复我~
首页上一页12下一页尾页

举报

0/150
提交
取消

老师您好,我在安装generator-angular的时候遇到问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信