generator-gulp-angular
generator-gulp-angular copied to clipboard
Problem to distribute
I have a problem to distribute my project. It's running well in
gulp serve
But doesn't work when
gulp serve:dist
A few days ago it was working and I only added a few files (html, controller) without adding any new bower components. The error message is:
Uncaught TypeError: Cannot read property 'helpers' of undefined vendor-c1fae29c6a.js:36 Uncaught Error: [$injector:modulerr] Failed to instantiate module myapp due to: Error: [$injector:nomod] Module 'myapp' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
Don't know how to debug this error. myapp is my module which I included everywhere. Can anybody help? Thanks
I have this problem too, how did you fix it?