V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
yeelone
V2EX  ›  问与答

yeoman 环境搭建出错

  •  
  •   yeelone · 2015-06-24 23:49:27 +08:00 · 3493 次点击
    这是一个创建于 3424 天前的主题,其中的信息可能已经有所发展或是发生改变。
    搭建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
    1 条回复    2015-08-28 06:47:17 +08:00
    DotKu
        1
    DotKu  
       2015-08-28 06:47:17 +08:00
    不用理会这些错误信息,基本上只是一些提示而已,不会造成使用问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1330 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 23:34 · PVG 07:34 · LAX 15:34 · JFK 18:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.