-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install error 7.1.1 #67
Comments
I can't see behind the scenes to know what happened in this commit (besides libpng12 -> libpng16) but it looks like this is what it on Linux systems, especially on common build/CI images (Vercel for me). Related: imagemin/imagemin-mozjpeg#70 |
It seems to require your environment to have zlib |
Would love for there to be a fix from the package, and not have to install a previous version for something I'm not actively using (it's installed through Gatsby). |
It would be good ideally, but sometimes dependency update on your environment needs to happen, please update your related dependencies accordingly. Apart from the dependency, |
This isn't a package that I have downloaded, or are even using, unfortunately. This is a dependency from Gatsby. My point is that I would like to not rely on locking a version of a package that I am not even using. Whatever the change was, big or small, it caused a build error -- so there is some issue that does not work in conjunction with Gatsby. |
Please make sure that your environment has # for macOS
brew install automake nasm zlib
# for Ubuntu
sudo apt-get install nasm zlib1g-dev |
Also have this issue: Here's the output from
|
Does anyone still face the same issue after installing dependencies like #67 (comment)? |
@jakejarvis Yes, unfortunately those additional installs do not help for my project as well. It's based on Ubuntu. |
Experiencing the same issue. This was working fine with 7.0.0 for us.
|
just solved a similar issue: if you're using docker or "stretch" debian (which is the default docker tagged version for was trying to make the shipped vendor version work rather than trying to let it rebuild from source and create more dependency problems 😂 |
i am facing similar issue, mozjpeg@7.1.1 postinstall D:\Richard\react-samples\node_modules\mozjpeg Hostname/IP does not match certificate's altnames: Host: raw.githubusercontent.com. is not in the cert's altnames: DNS:api.demo.dns.simplifyd.app |
I am facing the similar issue, |
Note: There is a known issue in mozjpeg@7.1.1: imagemin/mozjpeg-bin#67 This may throw errors in the dev build. However, since it is a devDependency, it should not affect the prod build. Workarounds: * Pin mozjpeg@7.0.0 locally. * Install nasm in your frontend-app-payment devstack shell. Note mozjpeg@7.1.0 contains 1 high vulnerability.
Note: There is a known issue in mozjpeg@7.1.1: imagemin/mozjpeg-bin#67 This may throw errors in the dev build. However, since it is a devDependency, it should not affect the prod build. Workarounds: * Pin mozjpeg@7.1.0 locally. * `apt-get install nasm` in your frontend-app-payment devstack shell. Note mozjpeg@7.1.0 contains 1 high vulnerability.
For the version 7.1.1, please make sure to install this package after #67 (comment). |
…ozjpeg-bin#67 (comment) Enact-DCO-1.0-Signed-off-by: Seungho Park <seunghoh.park@lge.com>
This isn't working for me using docker (via DDEV). Installing the Happy to provide any debug info over, but npm isn't my forte so not sure whats going to be helpful here. Cheers Tom |
Hi Tom, can you share your Dockerfile? (desensitization) I think we can include package in Dockerfile, because the step will effect |
Since your last change in the test file in version 7.1.1 our Build process has stopped working.
We have fixed it by locking the version to the previous one.
I am commenting this in case anyone else has this problem until it is fixed.
The text was updated successfully, but these errors were encountered: