我正在尝试使用 Yeoman 生成器“Meanjs”。当我进入时,yo --help
我得到这个:
Meanjs
meanjs:angular-config:indexjs
meanjs:angular-controller:indexjs
meanjs:angular-directive:indexjs
meanjs:angular-filter:indexjs
meanjs:angular-module:indexjs
meanjs:angular-route:indexjs
meanjs:angular-service:indexjs
meanjs:angular-test:indexjs
meanjs:angular-view:indexjs
meanjs:app:indexjs
meanjs:crud-module:indexjs
meanjs:express-controller:indexjs
meanjs:express-model:indexjs
meanjs:express-route:indexjs
meanjs:express-test:indexjs
所以显然安装了 Meanjs 生成器。但是,当我尝试使用yo meanjs
或yo Meanjs
出现错误时
错误均值
您似乎没有安装名为 meanjs 的生成器。您可以使用 npm search yeoman-generator 查看可用的生成器,然后使用 npm install [name] 安装它们。
--help
要查看 15 个已注册的生成器,请使用该选项运行 yo 。