Skip to content

Conversation

@harijoe
Copy link

@harijoe harijoe commented Jul 18, 2015

Original error :
Uncaught Error: [$injector:modulerr] Failed to instantiate module doppel due to:
Error: [$injector:nomod] Module 'doppel' 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.

Stack overflow thread : http://stackoverflow.com/questions/17238759/angular-module-minification-bug

Original error : 
Uncaught Error: [$injector:modulerr] Failed to instantiate module doppel due to:
Error: [$injector:nomod] Module 'doppel' 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.

Stack overflow thread : http://stackoverflow.com/questions/17238759/angular-module-minification-bug
@zckrs
Copy link
Collaborator

zckrs commented Jul 18, 2015

Unable mangle is overkill solution instead of use dependency annotation

@Swiip
Copy link
Owner

Swiip commented Jul 18, 2015

The whole point of using ngAnnotate si to avoid mangle: false. I don't want it. You have to find why ngAnnotate is missing your injection.

@harijoe
Copy link
Author

harijoe commented Jul 19, 2015

The thing is, the error occurs right after running the generator and gulp. It's not about some custom code that I would have included. doppel was the name I choose when I created the project. Don't you experience the same issue ?

@Swiip
Copy link
Owner

Swiip commented Aug 6, 2015

Let's close this. Open an issue if you've still had a problem with minification

@Swiip Swiip closed this Aug 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants