Search code examples
yeomanmeanjs

How to use the Meanjs generator with Yeoman?


I am trying to use the Yeoman generator "Meanjs". When I enter yo --help I get this:

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

So apparently the Meanjs generator is installed. However when I try using yo meanjs or yo Meanjs I get the error

Error meanjs

You don't seem to have a generator with the name meanjs installed. You can see available generators with npm search yeoman-generator and then insta ll them with npm install [name]. To see the 15 registered generators run yo with the --help option.


Solution

  • I don´t know why but it never worked using only meanjs but as soon as I used meanjs:app:indexjs it worked fine.