Skip to content
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

Build error after updates MozJpeg@7.1.1 #70

Open
DaveDev13 opened this issue Oct 15, 2021 · 5 comments
Open

Build error after updates MozJpeg@7.1.1 #70

DaveDev13 opened this issue Oct 15, 2021 · 5 comments

Comments

@DaveDev13
Copy link

Hey, I'm having trouble assembling. jenkins outputs this message
mozjpeg@7.1.1 postinstall /var/lib/jenkins/workspace/my-dev/node_modules/imagemin-mozjpeg/node_modules/mozjpeg
How to fix it?

@makaiqian
Copy link

+1

@thetoine
Copy link

Same, this seems to be isolated to Linux system. My build works locally on MacOS but not on CircleCI.

Lock dev-dep to MozJpeg@7.0.0 in your package.json for a temporary fix.

"mozjpeg": "7.0.0"

@DaveDev13
Copy link
Author

Yes, I did that too, but what about the next update?

@jakejarvis
Copy link

Related: imagemin/mozjpeg-bin#67

Pinning to 7.1.0 for now as a Yarn resolution worked for me. Mine was failing on Vercel.

@neo
Copy link

neo commented Nov 1, 2021

cross posting from imagemin/mozjpeg-bin#67 (comment):

if you're using docker or "stretch" debian (which is the default docker tagged version for node:14 and below), consider using "bullseye" or "buster" instead as it has a newer version of zlib (1.2.11 v.s. 1.2.8): https://packages.debian.org/bullseye/zlib1g

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

No branches or pull requests

5 participants