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

[ERROR] self signed certificate

Open MehdiDonk opened this issue 4 years ago • 1 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, // [email protected] disable: true, // [email protected] and newer }, }, ], },

Any idea on what is causing the issue?

Thanks !

MehdiDonk avatar Sep 23 '20 16:09 MehdiDonk

The same question

3344567 avatar Oct 09 '20 09:10 3344567