tcoopman / image-webpack-loader

Image loader module for webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ERROR] self signed certificate

MehdiDonk opened this issue · comments

Hello,

I am encountering an issue while trying to run Webpack with the image-webpack-loader.
It seems like different dependencies are using a self signed certificate which makes it unusable

Here is the error:
[ERROR] ⚠ self signed certificate in certificate chain
[ERROR] ⚠ gifsicle pre-build test failed
[ERROR] ℹ compiling from source
[ERROR] ✖ Error: Command failed: /bin/sh -c autoreconf -ivf
[ERROR] /bin/sh: autoreconf: command not found
...
[ERROR] ⚠ self signed certificate in certificate chain
[ERROR] ⚠ mozjpeg pre-build test failed
[ERROR] ℹ compiling from source
[ERROR] ✖ Error: Command failed: /bin/sh -c autoreconf -fiv
[ERROR] /bin/sh: autoreconf: command not found
...
[ERROR] ⚠ self signed certificate in certificate chain
[ERROR] ⚠ pngquant pre-build test failed
[ERROR] ℹ compiling from source
[ERROR] ✖ Error: pngquant failed to build, make sure that libpng is installed

.. and here is the Webpack config
module: {
rules: [
...
{
test: /\.(gif|png|jpe?g|svg)$/i,
use: [
'file-loader',
{
loader: 'image-webpack-loader',
options: {
bypassOnDebug: true, // webpack@1.x
disable: true, // webpack@2.x and newer
},
},
],
},

Any idea on what is causing the issue?

Thanks !

commented

The same question