Skip to content

Build - $inject:nomod #136

@asso1985

Description

@asso1985

I'm getting this error after building or with serve:dist

vendor.js:9279Uncaught Error: [$injector:nomod] Module 'dmrApp' 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.
http://errors.angularjs.org/1.5.8/$injector/nomod?p0=dmrApp(anonymous function) @ vendor.js:9279(anonymous function) @ vendor.js:11293n @ vendor.js:11217(anonymous function) @ vendor.js:11291(anonymous function) @ app.js:1
vendor.js:9279 Uncaught Error: [$injector:modulerr] Failed to instantiate module dmrApp due to:
Error: [$injector:nomod] Module 'dmrApp' 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.
http://errors.angularjs.org/1.5.8/$injector/nomod?p0=dmrApp
    at http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:376
    at http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:10542
    at n (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:10015)
    at http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:10327
    at http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:19680
    at r (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:824)
    at f (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:19528)
    at rt (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:21453)
    at a (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:8085)
    at ie (http://localhost:3002/scripts/vendor-7dc26fb0a5.js:31:8395)
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=dmrApp&p1=Error%3A%…http%3A%2F%2Flocalhost%3A3002%2Fscripts%2Fvendor-7dc26fb0a5.js%3A31%3A8395)

It' very weird and I cannot get rid of it.

Here's the modules

angular
.module('dmrApp', [
'ngAnimate',
'ngCookies',
'ngTouch',
'ngSanitize',
'ngMessages',
'ngAria',
'ui.router',
'ui.bootstrap',
'ngStorage'
]);

Here's the structure :

screen shot 2016-09-06 at 16 29 12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions