3

我正在使用 ubuntu 生动。尝试使用 yeoman aspnet 生成器。使用以下命令安装生成器

sudo npm install -g 哟

sudo npm install -g generator-aspnet

当我尝试使用以下命令使用它时:yo aspnet 我收到以下错误

Error aspnet 

You don't seem to have a generator with the name aspnet installed. You can see available generators with npm search yeoman-generator and then >install them with npm install [name]. To see the 0 registered generators run yo with the `--help` option.

我可以在/usr/local/lib/node_modules/generator-aspnet 我缺少什么下看到生成器文件?

4

1 回答 1

2

对于任何 Yeoman 问题,请始终运行yo doctor.

于 2015-09-06T22:11:40.917 回答