我使用这些命令继续安装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!
──────────────
答案 0 :(得分:0)
我相信如果你使用" npm clean cache"并尝试使用相同的命令可以解决。