Closed twjacobsen closed 11 years ago
:+1:
If this depends on generator-angular then it should declare it as a dependency. Or is it supposed to use express-angular:common
instead?
I'm getting : Error express-angular:app --coffee --minsafe
You don't seem to have a generator with the name angular:common:/usr/local/lib/node_modules/generator-express-angular/app/index.js 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.
:+1: Same error here
You don't seem to have a generator with the name angular:common:/usr/local/share/npm/lib/node_modules/generator-express-angular/app/index.js installed.
It didn't npm install
and bower install
automatically.
It worked after I npm install generator-angular -g
. It should definitely be in dependencies
.
Probably, but I'm not sure wether or not it's great practice for generators to be dependant on each other?
Well, it's supposed to work fine without breaking if a version is specified for the dependency. It may sound weird at the first time to have dependencies between generators, but it's already being dependent on another generator.
If it's not clearly specified (with a version) as a dependency, things are most likely going to break sometime. Am-I right?
Well, it's supposed to work fine without breaking if a version is specified for the dependency. It may sound weird at the first time to have dependencies between generators, but it's already being dependent on another generator.
If it's not clearly specified (with a version) as a dependency, things are most likely going to break sometime. Am-I right?
I'm sure it's gonna work great, and not break or anything, I was just under the impression that generators were independant plugins, not depending on other generators. I'll close this, as has #7 definately fixed this.
Only for MAC (try to find the node_module folder for other OS):
If your trying for generator-express-angular, then follow these steps:
That's it.
Happy Coding :)
@tapanand. Thanks for the quick fix. Shouldn't this just work out of the box? Anybody still using this?
I've noticed, that when creating an express-angular scaffold on a clean install, I also have to manually install generator-angular. This should be added as a dependency, no?