tcoopman / image-webpack-loader

Image loader module for webpack
MIT License
2.03k stars 132 forks source link

[ERROR] self signed certificate #265

Open MehdiDonk opened 4 years ago

MehdiDonk commented 4 years ago

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 !

3344567 commented 4 years ago

The same question