image-webpack-loader
image-webpack-loader copied to clipboard
[ERROR] self signed certificate
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, // [email protected]
disable: true, // [email protected] and newer
},
},
],
},
Any idea on what is causing the issue?
Thanks !
The same question