yoman 安装出错

来源:2-2 Yeoman, Bower, Grunt简介及安装

Jake_seru

2016-10-12 15:20

Yeoman Doctor

Running sanity checks on your system


√ Global configuration file is valid

√ NODE_PATH matches the npm root

√ Node.js version

× No .bowerrc file in home directory


We found a undefined file in your home directory. This can cause

issues by overriding expected default config. Prefer setting up one `.bowerrc` p

er

project.


To delete the file, run: del ~/.bowerrc


× No .yo-rc.json file in home directory


Found a NaN file in your home directory. Delete it otherwise

Yeoman will generate everything in your home rather then your project folder.


To delete the file, run: del ~/.yo-rc.json


√ npm version


Found potential issues on your machine :(


写回答 关注

2回答

  • 慕粉3342844
    2016-10-13 21:01:51

    解决了吗?

  • 慕粉3342844
    2016-10-12 23:33:49

    先装nodejs,然后npm命令行执行安装呀~试过了吗?

    Jake_s...

    感谢你的回答,我就是在node环境下安装的yoman,但安装时就发生错误。这里的代码是我用yo doctor命令检测出来的yoman错误。

    2016-10-13 08:49:02

    共 1 条回复 >

Grunt-beginner前端自动化工具

通过配置Grunt自动化工具,提高您的工作效率,出乎您的想象

60388 学习 · 408 问题

查看课程

相似问题