generator-gulp-angular icon indicating copy to clipboard operation
generator-gulp-angular copied to clipboard

Problem to distribute

Open bagusflyer opened this issue 9 years ago • 1 comments

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

bagusflyer avatar Jan 31 '16 05:01 bagusflyer

I have this problem too, how did you fix it?

darmie avatar Jan 04 '17 19:01 darmie