yeoman - 哟 aspnet 生成器未检测到

标签 yeoman yeoman-generator ubuntu-15.04

我正在使用 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/

相关文章:

angularjs - 如何配置 Grunt 以通过缩小版本替换 Bower 依赖项

javascript - 如何通过像正常 Node 运行一样运行 index.js 文件来运行 yeoman 生成器

javascript - 将 grunt-usemin 与动态生成的图像路径一起使用

c - 带有 SDL2 的 Makefile C

javascript - Yeoman Angular Generator Grunt Build scripts/vendor.js 为空

scaffolding - 使用 Yeoman 创建自定义生成器

node.js - 为什么将 "yo polymer"与 yeoman 一起使用不会使用 webcomponent 文件夹创建 Bower 文件夹?

ruby-on-rails - 无法在 Ubuntu 15.04 上安装 Ruby 2.2.3

ubuntu - Android Studio IBus 解决方法

angularjs - Angular 1.1.x Bower 依赖配置