我正在尝试获取最新版本的生成器角度工作 Win7x64。我已经使用“npm install -g generator-angular”安装了生成器 angular。如果使用yo angular创建一个项目然后运行yo build:minify我会收到以下错误:
You don't seem to have a generator with the name build:minify installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 15 registered generators run yo with the `--help` option.
如果我使用yeoman init angular创建一个项目然后运行yeoman build我成功地得到
Done, without errors.
我相信Yeoman命令已经过时了。关于如何让你工作的想法?