我一直在使用这些命令安装yo生成器,比如angular,angular-fullstack,cg-angular:
npm install -g generator-angular
npm install -g generator-angular-fullstack
npm install -g generator-cg-angular但是当我尝试通过yo命令使用它们时,我找不到它们
You don't seem to have a generator with the name angular:controller installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 1 registered generators run yo with the `--help` option.
? 'Allo Noor! What would you like to do?
Run a generator
Webapp
──────────────
Update your generators
Install a generator
Find some help
❯ Get me out of here!
──────────────发布于 2016-01-30 11:09:26
我相信如果你使用"npm clean cache“并尝试使用相同的命令就能解决问题。
https://stackoverflow.com/questions/33124453
复制相似问题