-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
- I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
| Item | Version |
|---|---|
| generator-angular-fullstack | 3.7.4 |
| Node | 4.4.7 |
| npm | 3.10.7 |
| Operating System | Ubuntu 15.10 |
| Item | Answer |
|---|---|
| Transpiler | Babel |
| Markup | HTML |
| CSS | SCSS |
| Router | ui-router |
| Client Tests | Jasmine |
| DB | MongoDB |
| Auth | Y |
Good day everyone.
I created an app using the Angular Full-Stack Generator version 3.7.4.
I can add dependencies normally using bower and then register on the applications main (and only) module like this:
angular.module('myapp', ['uiGmapgoogle-maps', 'ngMaterial']);Which works fine when in development, i.e. using gulp serve.
However, when I want to generate the dist files with gulp serve:dist and start the app I always get an error like this:
Uncaught Error: [$injector:modulerr] Failed to instantiate module myapp due to:
Error: [$injector:modulerr] Failed to instantiate module ngMaterial due to:
Error: [$injector:nomod] Module 'ngMaterial' 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.
I haven't been able to identify what part of the task gulp serve:dist causes the problem, since it persist even when I disable the uglify() plugin.
Any help would be greatly appreciated.
Metadata
Metadata
Assignees
Labels
No labels