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

Jenkins, mac M1 build failed #426

Closed
dante01yoon opened this issue Oct 7, 2022 · 1 comment
Closed

Jenkins, mac M1 build failed #426

dante01yoon opened this issue Oct 7, 2022 · 1 comment

Comments

@dante01yoon
Copy link

Hi, I use imagemin-mozjpeg version v6.0.0, which has peer dependency mozjpeg ^4.0.0. since mozjpeg version up to 4.1.1, all platform I use to deploy build failed.

here I attatch build fail face with.

jenkins:

/node_modules/mozjpeg/vendor/cjpeg: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

m1:

Warning: Error: dyld[18472]: Library not loaded: /usr/local/opt/libpng/lib/libpng16.16.dylib
  Referenced from: /Users/user/Desktop/naver-web/cloval-ai-jaewon/node_modules/mozjpeg/vendor/cjpeg
  Reason: tried: '/usr/local/opt/libpng/lib/libpng16.16.dylib' (no such file), '/usr/local/lib/libpng16.16.dylib' (no such file), '/usr/lib/libpng16.16.dylib' (no such file)

I notice this problem to imagemin/imagemin-mozjpeg#73.

@kornelski
Copy link
Member

This project does not support Node.js. Please report any issues to Node package maintainers.

libpng12 is super outdated. Delete everything using it.

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

2 participants