老師您好,我在安裝generator-angular的時候遇到問題
我用的是MacBook,當(dāng)我執(zhí)行:
sudo npm install -g generator-angular
的時候,就會出現(xiàn)下面的錯誤提示:
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,我也試了試,結(jié)果依然不行。
老師,您也碰到過類似的問題嗎,您是如果解決的?
謝謝。
2015-04-16
頂下,我也是
2015-04-11
我也是遇到這個問題了