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

build error #2

Open
skarampatakis opened this issue Jul 22, 2017 · 4 comments
Open

build error #2

skarampatakis opened this issue Jul 22, 2017 · 4 comments

Comments

@skarampatakis
Copy link
Member

after build, I get the following error

Error: [$injector:unpr] Unknown provider: eProvider <- e <- web
http://errors.angularjs.org/1.6.5/$injector/unpr?p0=eProvider%20%3C-%20e%20%3C-%20web
Stack trace:
r/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:571
dt/x.$injector<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:23135
r@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22044
dt/$<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:23218
r@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22044
i@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22349
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22570
i/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:20786
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22674
dt/$<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:23238
r@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22044
i@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22349
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:22570
Tt/this.$get</</<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:49536
h@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:36307
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:32531
H/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:32048
compile/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:93321
Y/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:6121
Se@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:44660
h@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:37004
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:32531
H/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:32048
re/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:34947
y@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:95323
v@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:94861
c@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:61432
e/this.sync@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:61452
a@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:58338
d</e.prototype.invokeHook@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:23593
d</e.runSynchronousHooks@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:24435
s@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:56:17886
u@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:71021
l/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:71426
$digest@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:77123
$evalAsync/<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:78747
i@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:24578
yt/l.defer/n<@http://theaccountant.okfn.gr/app/main-c6de5493863724c98200.js:61:26042
 <ui-view class="ng-scope" data-ng-animate="1">

It probably happens because of minification.

The problem does not occur on master branch

@skarampatakis
Copy link
Member Author

The problem does not occur also on the dev server. Just after build task. Could we somehow turn off minification temporally?

@skarampatakis
Copy link
Member Author

Fixed this temporaly on b432b44

I turned off minification plugin. At least now it builds and I managed to set it up on the server, but should be fixed some how.
Please @ventouris @larjohn have a look when available.

@ventouris
Copy link

I have the same issue in another Angular project. It is related with the Webpack. I read in different sources that you need to update to the latest version, but it wasn't fixed for me, so I ended up without minification too.

@skarampatakis
Copy link
Member Author

skarampatakis commented Jul 27, 2017

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

No branches or pull requests

2 participants