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.
2015-01-22
可能的原因有幾個:?
1. npm path問題, 使用 yo doctor 嘗試診斷
2. npm本身安裝有問題, 可以嘗試卸載后重新安裝: 可以參考http://www.micmiu.com/lang/nodejs/mac-osx-nodejs-install/?
3. npm版本問題, 嘗試降低npm的版本?
4. 待完善 辛苦先嘗試一下以上幾個方法, 期待你的反饋。
2015-02-03
使用 yo 指令產(chǎn)生網(wǎng)站骨架,webapp 這個 產(chǎn)生器 指令如下:
npm install -g generator-webapp