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

总是提示我You don't seem to have a generator with the name webapp installed.

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].


里面只有angular 

正在回答

3 回答

npm install --force -g generator-webapp  


第一次用的时候报错。

npm WARN using --force I sure hope you know what you are doing.

npm ERR! Windows_NT 6.1.7601

npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli

.js" "install" "--force" "-g" "generator-wabapp

然后把--force去掉安装成功了


npm install -g generator-webapp 

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

npm install --force -g generator-webapp 试试这个

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

你先用npm install命令把你要的generator安装了再试试

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

举报

0/150
提交
取消

总是提示我You don't seem to have a generator with the name webapp installed.

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