我正在使用 ubuntu 生动。尝试使用 yeoman aspnet 生成器。使用以下命令安装生成器
sudo npm install -g yo
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 下看到生成器文件
我错过了什么?
最佳答案
对于任何 Yeoman 问题,请始终运行 yo doctor
。
关于yeoman - 哟 aspnet 生成器未检测到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32282207/