-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
| Item | Version |
|---|---|
| generator-angular-fullstack | 3.5.0 |
| Node | 4.2.3 |
| npm | 3.7.5 |
| Operating System | Windows 7 |
| etc | etc |
| Item | Answer |
|---|---|
| Transpiler | TypeScript |
| Markup | HTML |
| CSS | CSS |
| Router | ui-router |
| Build Tool | Grunt |
| Client Tests | Jasmine |
| DB | MongoDB |
| Auth | Y |
| etc | socket.io |
The temlate project works fine when I execute grunt serve, but when I build the application executing build and for a preview grunt serve:dist I get the next errors:
Error: [$compile:multidir] Multiple directives [navbar (module: iotfs15App), navbar (module: iotfs15App)] asking for template on:
http://errors.angularjs.org/1.5.3/$compile/multidir?p0=navbar&p1=%20(module…5App)&p2=navbar&p3=%20(module%3A%20iotfs15App)&p4=template&p5=%3Cnavbar%3E
at vendor.3a42d300.js:3
at fa (vendor.3a42d300.js:4)
at X (vendor.3a42d300.js:4)
at vendor.3a42d300.js:4
at h (vendor.3a42d300.js:5)
at vendor.3a42d300.js:5
at n.$eval (vendor.3a42d300.js:6)
at n.$digest (vendor.3a42d300.js:5)
at n.$apply (vendor.3a42d300.js:6)
at vendor.3a42d300.js:3
Error: [$compile:multidir] Multiple directives [footer (module: iotfs15App), footer (module:iotfs15App)] asking for template on:
http://errors.angularjs.org/1.5.3/$compile/multidir?p0=footer&p1=%20(module…5App)&p2=footer&p3=%20(module%3A%20iotfs15App)&p4=template&p5=%3Cfooter%3Eat vendor.3a42d300.js:3
at fa (vendor.3a42d300.js:4)
at X (vendor.3a42d300.js:4)
at vendor.3a42d300.js:4
at h (vendor.3a42d300.js:5)
at vendor.3a42d300.js:5
at n.$eval (vendor.3a42d300.js:6)
at n.$digest (vendor.3a42d300.js:5)
at n.$apply (vendor.3a42d300.js:6)
at vendor.3a42d300.js:3
Error: [$compile:multidir] Multiple directives [main, main] asking for template on:
http://errors.angularjs.org/1.5.3/$compile/multidir?p0=main&p1=&p2=main&p3=&p4=template&p5=%3Cmain%20class%3D%22ng-scope%22%3Eat vendor.3a42d300.js:3
at fa (vendor.3a42d300.js:4)
at X (vendor.3a42d300.js:4)
at vendor.3a42d300.js:4
at h (vendor.3a42d300.js:5)
at vendor.3a42d300.js:5
at n.$eval (vendor.3a42d300.js:6)
at n.$digest (vendor.3a42d300.js:5)
at n.$apply (vendor.3a42d300.js:6)
at vendor.3a42d300.js:3
Why the preview for a local app works fine and the preview for a built app gives errors?
Thanks