Open chap31 opened 8 years ago
Some more info: Using latest Node.js (4.2.4), latest npm, generator is up-to-date, as well as all dependencies. Mac OS X. yo-rc is attached: http://pastebin.com/raw/wuDL5Bn9
Updated also Angular.js to 1.4.8 without improvement.
Holy shit, the keys for all element have changed from "none" to other ones. This had the effect that gulp-consolidate was not added to package.json leading in this mess.
So keep in mind when updating this generator to also look at the .yo-rc file and update it manually is well. Just keeping the old config (like the current update guide suggests) is not enough. Maybe we should update the current guide?
When I start my app with
gulp serve
everything works fine. When Igulp build
my app (deleteddist
before, so everything is clean) my app does not start. I'm getting this error for all directives I use:Error: [$compile:multidir] Multiple directives [acmeMalarkey (module: myapp), acmeMalarkey (module: myapp)] asking for new/isolated scope on: <acme-malarkey extra-values="['Yeoman', 'Gulp', 'Angular']">
Same for acmeNavbar and my custom directives:
Error: [$compile:multidir] Multiple directives [acmeNavbar (module: myapp), acmeNavbar (module: myapp)] asking for template on: <acme-navbar creation-date="main.creationDate">
How can I fix this?
//EDIT:
gulp serve:dist
also not working.