Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

[ERROR] self signed certificate #265

Open
MehdiDonk opened this issue Sep 23, 2020 · 1 comment
Open

[ERROR] self signed certificate #265

MehdiDonk opened this issue Sep 23, 2020 · 1 comment

Comments

@MehdiDonk
Copy link

MehdiDonk commented Sep 23, 2020

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
Copy link

3344567 commented Oct 9, 2020

The same question

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants