yeoman 环境搭建出错
2015-06-24 23:49:27 +08:00
yeelone
搭建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 CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: 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
generator-angular@0.11.1 /usr/local/lib/node_modules/generator-angular
├── chalk@0.5.1 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0)
├── yosay@1.0.4 (string-length@1.0.0, ansi-regex@1.1.1, ansi-styles@2.0.1, word-wrap@1.0.3, strip-ansi@2.0.1, pad-component@0.0.1, minimist@1.1.1, taketalk@1.0.0, chalk@1.0.0)
├── wiredep@2.2.2 (propprop@0.3.0, minimist@1.1.1, lodash@2.4.2, bower-config@0.5.2, through2@0.6.5, glob@4.5.3)
└── yeoman-generator@0.16.0 (dargs@0.1.0, isbinaryfile@2.0.4, diff@1.0.8, debug@0.7.4, class-extend@0.1.1, rimraf@2.2.8, findup-sync@0.1.3, text-table@0.2.0, mime@1.2.11, async@0.2.10, mkdirp@0.3.5, shelljs@0.2.6, underscore.string@2.3.3, iconv-lite@0.2.11, lodash@2.4.2, chalk@0.4.0, glob@3.2.11, file-utils@0.1.5, request@2.30.0, inquirer@0.4.1, cheerio@0.13.1, download@0.1.19)
我的环境如下:
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
1 条回复
DotKu
2015-08-28 06:47:17 +08:00
不用理会这些错误信息,基本上只是一些提示而已,不会造成使用问题
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/200953
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.