Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated error messages #1082

Closed
stefan-mihaila opened this issue Feb 4, 2017 · 5 comments
Closed

Duplicated error messages #1082

stefan-mihaila opened this issue Feb 4, 2017 · 5 comments

Comments

@stefan-mihaila
Copy link
Contributor

I noticed this while working on #1027. It is caused by a $q issue that has been solved in angular 1.6. The issue is that angular's $exceptionHandler is called even for $q promises that have a rejection handler.

For example, here we have a handler for the promise, but the angular exception handler is triggered also.

screen recording 2017-02-03 at 11 37 pm

@stefan-mihaila
Copy link
Contributor Author

stefan-mihaila commented Feb 4, 2017

I tried to upgrade angular to 1.6.1, angular-moment to 1.0.1 and angular-ui-router to 0.4.2, but I get a very cryptic error message. I think angular 1.6 doesn't play well with some other dependency.

EDIT: the error is caused by angular-moment

Uncaught Error: TrackJS Caught: [$injector:modulerr] Failed to instantiate module Etcher due to:
Error: [$injector:modulerr] Failed to instantiate module Etcher.Pages.Main due to:
Error: [$injector:modulerr] Failed to instantiate module {} due to:
Error: [ng:areq] Argument 'module' is not a function, got Object
http://errors.angularjs.org/1.6.1/ng/areq?p0=module&p1=not%20a%20function%2C%20got%20Object
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:68:12
    at assertArg (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1972:11)
    at assertArgFn (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1982:3)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4745:11
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4737:40
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4737:40
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at createInjector (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4642:19)
    at doBootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1838:20)
    at bootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1859:12)
    at angularInit (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1744:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:32977:5
    at HTMLDocument.trigger (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:3314:5)
    at HTMLDocument.E (file:///Users/stefanmihaila/resin.io/etcher/node_modules/trackjs/tracker.js:5:415)
http://errors.angularjs.org/1.6.1/$injector/modulerr?p0=%7B%7D&p1=Error%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20assertArg%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1972%3A11)%0A%20%20%20%20at%20assertArgFn%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1982%3A3)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4745%3A11%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:68:12
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4759:15
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4737:40
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4737:40
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at createInjector (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4642:19)
    at doBootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1838:20)
    at bootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1859:12)
    at angularInit (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1744:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:32977:5
    at HTMLDocument.trigger (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:3314:5)
    at HTMLDocument.E (file:///Users/stefanmihaila/resin.io/etcher/node_modules/trackjs/tracker.js:5:415)
http://errors.angularjs.org/1.6.1/$injector/modulerr?p0=Etcher.Pages.Main&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20%7B%7D%20due%20to%3A%0AError%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20assertArg%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1972%3A11)%0A%20%20%20%20at%20assertArgFn%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1982%3A3)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4745%3A11%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2F%24injector%2Fmodulerr%3Fp0%3D%257B%257D%26p1%3DError%253A%2520%255Bng%253Aareq%255D%2520Argument%2520'module'%2520is%2520not%2520a%2520function%252C%2520got%2520Object%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.6.1%252Fng%252Fareq%253Fp0%253Dmodule%2526p1%253Dnot%252520a%252520function%25252C%252520got%252520Object%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520assertArg%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1972%253A11)%250A%2520%2520%2520%2520at%2520assertArgFn%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1982%253A3)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4745%253A11%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4642%253A19)%250A%2520%2520%2520%2520at%2520doBootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1838%253A20)%250A%2520%2520%2520%2520at%2520bootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1859%253A12)%250A%2520%2520%2520%2520at%2520angularInit%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1744%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A32977%253A5%250A%2520%2520%2520%2520at%2520HTMLDocument.trigger%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A3314%253A5)%250A%2520%2520%2520%2520at%2520HTMLDocument.E%2520(file%253A%252F%252F%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Ftrackjs%252Ftracker.js%253A5%253A415)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4759%3A15%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:68:12
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4759:15
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4737:40
    at forEach (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:357:20)
    at loadModules (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4720:5)
    at createInjector (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:4642:19)
    at doBootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1838:20)
    at bootstrap (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1859:12)
    at angularInit (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:1744:5)
    at /Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:32977:5
    at HTMLDocument.trigger (/Users/stefanmihaila/resin.io/etcher/node_modules/angular/angular.js:3314:5)
    at HTMLDocument.E (file:///Users/stefanmihaila/resin.io/etcher/node_modules/trackjs/tracker.js:5:415)
http://errors.angularjs.org/1.6.1/$injector/modulerr?p0=Etcher&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20Etcher.Pages.Main%20due%20to%3A%0AError%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20%7B%7D%20due%20to%3A%0AError%3A%20%5Bng%3Aareq%5D%20Argument%20'module'%20is%20not%20a%20function%2C%20got%20Object%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2Fng%2Fareq%3Fp0%3Dmodule%26p1%3Dnot%2520a%2520function%252C%2520got%2520Object%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20assertArg%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1972%3A11)%0A%20%20%20%20at%20assertArgFn%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1982%3A3)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4745%3A11%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2F%24injector%2Fmodulerr%3Fp0%3D%257B%257D%26p1%3DError%253A%2520%255Bng%253Aareq%255D%2520Argument%2520'module'%2520is%2520not%2520a%2520function%252C%2520got%2520Object%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.6.1%252Fng%252Fareq%253Fp0%253Dmodule%2526p1%253Dnot%252520a%252520function%25252C%252520got%252520Object%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520assertArg%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1972%253A11)%250A%2520%2520%2520%2520at%2520assertArgFn%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1982%253A3)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4745%253A11%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4642%253A19)%250A%2520%2520%2520%2520at%2520doBootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1838%253A20)%250A%2520%2520%2520%2520at%2520bootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1859%253A12)%250A%2520%2520%2520%2520at%2520angularInit%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1744%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A32977%253A5%250A%2520%2520%2520%2520at%2520HTMLDocument.trigger%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A3314%253A5)%250A%2520%2520%2520%2520at%2520HTMLDocument.E%2520(file%253A%252F%252F%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Ftrackjs%252Ftracker.js%253A5%253A415)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4759%3A15%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.6.1%2F%24injector%2Fmodulerr%3Fp0%3DEtcher.Pages.Main%26p1%3DError%253A%2520%255B%2524injector%253Amodulerr%255D%2520Failed%2520to%2520instantiate%2520module%2520%257B%257D%2520due%2520to%253A%250AError%253A%2520%255Bng%253Aareq%255D%2520Argument%2520'module'%2520is%2520not%2520a%2520function%252C%2520got%2520Object%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.6.1%252Fng%252Fareq%253Fp0%253Dmodule%2526p1%253Dnot%252520a%252520function%25252C%252520got%252520Object%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520assertArg%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1972%253A11)%250A%2520%2520%2520%2520at%2520assertArgFn%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1982%253A3)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4745%253A11%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4642%253A19)%250A%2520%2520%2520%2520at%2520doBootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1838%253A20)%250A%2520%2520%2520%2520at%2520bootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1859%253A12)%250A%2520%2520%2520%2520at%2520angularInit%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1744%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A32977%253A5%250A%2520%2520%2520%2520at%2520HTMLDocument.trigger%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A3314%253A5)%250A%2520%2520%2520%2520at%2520HTMLDocument.E%2520(file%253A%252F%252F%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Ftrackjs%252Ftracker.js%253A5%253A415)%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.6.1%252F%2524injector%252Fmodulerr%253Fp0%253D%25257B%25257D%2526p1%253DError%25253A%252520%25255Bng%25253Aareq%25255D%252520Argument%252520'module'%252520is%252520not%252520a%252520function%25252C%252520got%252520Object%25250Ahttp%25253A%25252F%25252Ferrors.angularjs.org%25252F1.6.1%25252Fng%25252Fareq%25253Fp0%25253Dmodule%252526p1%25253Dnot%25252520a%25252520function%2525252C%25252520got%25252520Object%25250A%252520%252520%252520%252520at%252520%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A68%25253A12%25250A%252520%252520%252520%252520at%252520assertArg%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A1972%25253A11)%25250A%252520%252520%252520%252520at%252520assertArgFn%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A1982%25253A3)%25250A%252520%252520%252520%252520at%252520%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4745%25253A11%25250A%252520%252520%252520%252520at%252520forEach%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A357%25253A20)%25250A%252520%252520%252520%252520at%252520loadModules%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4720%25253A5)%25250A%252520%252520%252520%252520at%252520%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4737%25253A40%25250A%252520%252520%252520%252520at%252520forEach%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A357%25253A20)%25250A%252520%252520%252520%252520at%252520loadModules%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4720%25253A5)%25250A%252520%252520%252520%252520at%252520%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4737%25253A40%25250A%252520%252520%252520%252520at%252520forEach%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A357%25253A20)%25250A%252520%252520%252520%252520at%252520loadModules%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4720%25253A5)%25250A%252520%252520%252520%252520at%252520createInjector%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A4642%25253A19)%25250A%252520%252520%252520%252520at%252520doBootstrap%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A1838%25253A20)%25250A%252520%252520%252520%252520at%252520bootstrap%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A1859%25253A12)%25250A%252520%252520%252520%252520at%252520angularInit%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A1744%25253A5)%25250A%252520%252520%252520%252520at%252520%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A32977%25253A5%25250A%252520%252520%252520%252520at%252520HTMLDocument.trigger%252520(%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Fangular%25252Fangular.js%25253A3314%25253A5)%25250A%252520%252520%252520%252520at%252520HTMLDocument.E%252520(file%25253A%25252F%25252F%25252FUsers%25252Fstefanmihaila%25252Fresin.io%25252Fetcher%25252Fnode_modules%25252Ftrackjs%25252Ftracker.js%25253A5%25253A415)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A68%253A12%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4759%253A15%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4737%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A357%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4720%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A4642%253A19)%250A%2520%2520%2520%2520at%2520doBootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1838%253A20)%250A%2520%2520%2520%2520at%2520bootstrap%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1859%253A12)%250A%2520%2520%2520%2520at%2520angularInit%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A1744%253A5)%250A%2520%2520%2520%2520at%2520%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A32977%253A5%250A%2520%2520%2520%2520at%2520HTMLDocument.trigger%2520(%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Fangular%252Fangular.js%253A3314%253A5)%250A%2520%2520%2520%2520at%2520HTMLDocument.E%2520(file%253A%252F%252F%252FUsers%252Fstefanmihaila%252Fresin.io%252Fetcher%252Fnode_modules%252Ftrackjs%252Ftracker.js%253A5%253A415)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A68%3A12%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4759%3A15%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4737%3A40%0A%20%20%20%20at%20forEach%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A357%3A20)%0A%20%20%20%20at%20loadModules%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4720%3A5)%0A%20%20%20%20at%20createInjector%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A4642%3A19)%0A%20%20%20%20at%20doBootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1838%3A20)%0A%20%20%20%20at%20bootstrap%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1859%3A12)%0A%20%20%20%20at%20angularInit%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A1744%3A5)%0A%20%20%20%20at%20%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A32977%3A5%0A%20%20%20%20at%20HTMLDocument.trigger%20(%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Fangular%2Fangular.js%3A3314%3A5)%0A%20%20%20%20at%20HTMLDocument.E%20(file%3A%2F%2F%2FUsers%2Fstefanmihaila%2Fresin.io%2Fetcher%2Fnode_modules%2Ftrackjs%2Ftracker.js%3A5%3A415)

stefan-mihaila added a commit that referenced this issue Feb 4, 2017
Other packages upgraded:
- angular-moment to v1.0.0 (v1.0.1 doesn't work with angular 1.6)
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
stefan-mihaila added a commit that referenced this issue Feb 4, 2017
Other packages upgraded:
- angular-moment to v1.0.0
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
stefan-mihaila added a commit that referenced this issue Feb 4, 2017
Other packages upgraded:
- angular-moment to v1.0.0
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
stefan-mihaila added a commit that referenced this issue Feb 4, 2017
Other packages upgraded:
- angular-moment to v1.0.0
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
@jviotti
Copy link
Contributor

jviotti commented Feb 6, 2017

Oh, amazing find @stefan-mihaila . This explain why we get some double errors on TrackJS /cc @alexandrosm.

Regarding the cryptic error, I assume you finally fixed it on the linked PR, right? If so, maybe worth explaining how you resolved it here, just for reference?

@stefan-mihaila
Copy link
Contributor Author

@jviotti By try and error I realised that angular-moment was causing the error, and this wasn't actually angular 1.6 related. angular-moment v1.0.0 works fine, angular-moment v1.0.1 does not, I think it's related to what angular-moment v1.0.1 exports. In the PR I just used angular-moment v1.0.0. I didn't really investigated further, but now that you mention it, I'll take a look out of curiosity.

@jviotti
Copy link
Contributor

jviotti commented Feb 6, 2017

This seems to be the cause: urish/angular-moment@dccdbbc

The module name is not returned anymore if they detect they are running in Electron (for some strange reason).

You could upgrade to v1.0.1 and do require('angular-moment') at the top of the file and add the module string to the dependency array yourself.

stefan-mihaila added a commit that referenced this issue Feb 7, 2017
Other packages upgraded:
- angular-moment to v1.0.0
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
stefan-mihaila added a commit that referenced this issue Feb 7, 2017
Other packages upgraded:
- angular-moment to v1.0.1
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
@stefan-mihaila
Copy link
Contributor Author

You could upgrade to v1.0.1 and do require('angular-moment') at the top of the file and add the module string to the dependency array yourself.

Updated PR to include angular-moment v1.0.1: https://github.com/resin-io/etcher/pull/1083/files#diff-c6e5793d29e5153fef626158c52514d3R32

stefan-mihaila added a commit that referenced this issue Feb 7, 2017
Angular 1.5 has a bug that causes angular's `$exceptionHandler`
to be called for rejected `$q` promises even if they have
a rejection handler. This bug caused duplicate error messages
in Etcher.

A consequence of upgrading to Angular 1.6 is that `$q` promises
without a rejection handler will throw `Possibly unhandled rejection`
errors. To avoid these errors, this commit moves code responsible
for opening a tooltip from the template to the controller and handles
the rejection.

Other packages upgraded:
- angular-moment to v1.0.1
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
See: angular/angular.js#7992
See: angular/angular.js#13662
stefan-mihaila added a commit that referenced this issue Feb 7, 2017
Angular 1.5 has a bug that causes angular's `$exceptionHandler`
to be called for rejected `$q` promises even if they have
a rejection handler. This bug caused duplicate error messages
in Etcher.

A consequence of upgrading to Angular 1.6 is that `$q` promises
without a rejection handler will throw `Possibly unhandled rejection`
errors. To avoid these errors, this commit moves code responsible
for opening a tooltip from the template to the controller and handles
the rejection.

Other packages upgraded:
- angular-moment to v1.0.1
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
See: angular/angular.js#7992
See: angular/angular.js#13662
jviotti pushed a commit that referenced this issue Feb 7, 2017
Angular 1.5 has a bug that causes angular's `$exceptionHandler`
to be called for rejected `$q` promises even if they have
a rejection handler. This bug caused duplicate error messages
in Etcher.

A consequence of upgrading to Angular 1.6 is that `$q` promises
without a rejection handler will throw `Possibly unhandled rejection`
errors. To avoid these errors, this commit moves code responsible
for opening a tooltip from the template to the controller and handles
the rejection.

Other packages upgraded:
- angular-moment to v1.0.1
- angular-ui-router to v0.4.2
- angular-mocks to v1.6.1

Change-type: patch
Changelog-Entry: Fix duplicate error messages
Fixes: #1082
See: angular/angular.js#7992
See: angular/angular.js#13662
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants