image-webpack-loader icon indicating copy to clipboard operation
image-webpack-loader copied to clipboard

Not working behind proxy

Open hellqvist opened this issue 8 years ago • 3 comments

Our build server is behind a corporate proxy. This results in timouts when npm trying to install gifsicle, mozjpeg and so on, all used by image-webpack-loader.

I've read that this can be solved somehow by using https://github.com/kevva/bin-wrapper

Any idea on how to solve this?

hellqvist avatar Jan 12 '17 07:01 hellqvist

Are you sure you need something like this? Isn't something like: https://jjasonclark.com/how-to-setup-node-behind-web-proxy/ enough?

On Thu, 12 Jan 2017 at 08:59 Christofer Hellqvist [email protected] wrote:

Our build server is behind a corporate proxy. This results in timouts when npm trying to install gifsicle, mozjpeg and so on, all used by image-webpack-loader.

I've read that this can be solved somehow by using https://github.com/kevva/bin-wrapper

Any idea on how to solve this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tcoopman/image-webpack-loader/issues/65, or mute the thread https://github.com/notifications/unsubscribe-auth/AACx6pKtpKXC_0xPtP6OSWIT_xbVWl87ks5rRd1TgaJpZM4Lhd8J .

tcoopman avatar Jan 12 '17 09:01 tcoopman

I will actually try that and see if it helps. Thanks, I get back to you with the result.

hellqvist avatar Jan 12 '17 09:01 hellqvist

Any update on this? Currently only npmjs is trusted so it would be good if this works without using proxies on other websites which defeats the purpose of the firewall blocking.

prabirshrestha avatar Sep 18 '19 20:09 prabirshrestha