为了账号安全,请及时绑定邮箱和手机立即绑定

yoman 安装出错

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 回答

解决了吗?

0 回复 有任何疑惑可以回复我~

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

0 回复 有任何疑惑可以回复我~
#1

Jake_seru 提问者

感谢你的回答,我就是在node环境下安装的yoman,但安装时就发生错误。这里的代码是我用yo doctor命令检测出来的yoman错误。
2016-10-13 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Grunt-beginner前端自动化工具
  • 参与学习       60393    人
  • 解答问题       408    个

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

进入课程

yoman 安装出错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信