搭建yeoman环境不是一次两次了,每次都遇到不同的问题。老实说,超级烦。
这一次遇到以下这个错误,翻来翻去不知道怎么解决 ,请教方法 :
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.
npm WARN deprecated
[email protected]: the module is now available as 'css-select'
npm WARN deprecated
[email protected]: the module is now available as 'css-what'
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/class-extend requires
lodash@'~2.4.1' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/lodash,
npm WARN unmet dependency which is version 3.9.3
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/findup-sync requires
glob@'~4.3.0' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/glob,
npm WARN unmet dependency which is version 5.0.10
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/rimraf requires
glob@'^4.4.2' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/glob,
npm WARN unmet dependency which is version 5.0.10
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/yeoman-assert requires
chalk@'^0.5.1' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/chalk,
npm WARN unmet dependency which is version 1.0.0
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/yeoman-assert requires
lodash@'^2.4.1' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/generator-karma/node_modules/yeoman-generator/node_modules/lodash,
npm WARN unmet dependency which is version 3.9.3
[email protected] /usr/local/lib/node_modules/generator-angular
├──
[email protected] (
[email protected],
[email protected],
[email protected],
[email protected],
[email protected])
├──
[email protected] (
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected])
├──
[email protected] (
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected])
└──
[email protected] (
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected])
我的环境如下:
yee@yee:~$ sudo npm -v && sudo node -v && yo --version && grunt --version && bower --version
2.11.2
v0.12.5
1.4.7
grunt-cli v0.1.13
1.4.1
系统是elementary OS 0.3 Freya (64-bit),基于 Ubuntu 14.04