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

Error webapp grunt-by-yo

Error webapp grunt-by-yo 


You don't seem to have a generator with the name webapp installed.

You can see available generators with npm search yeoman-generator and then install them with npm install [name].

To see the 15 registered generators run yo with the `--help` option.


正在回答

3 回答

可能的原因有几个: 

1. npm path问题, 使用 yo doctor 尝试诊断

2. npm本身安装有问题, 可以尝试卸载后重新安装: 可以参考http://www.micmiu.com/lang/nodejs/mac-osx-nodejs-install/ 

3. npm版本问题, 尝试降低npm的版本 

4. 待完善 辛苦先尝试一下以上几个方法, 期待你的反馈。


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

使用 yo 指令产生网站骨架,webapp 这个 产生器 指令如下:

  npm install -g generator-webapp

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

举报

0/150
提交
取消

Error webapp grunt-by-yo

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