我正在尝试使用最新版本的生成器角度工作Win7x64。我用“npm install -g generator-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 命令已过时。关于如何哟工作的想法?