Regression from version 4.1.0 to 4.2.0, install failing at mozjpeg
See original GitHub issueIssue Description
Version 4.1.0 installs and works perfectly. 🥇
However trying to install version 4.2.0 on Linux (Ubuntu 16.04) results in the following error:
Message:
Command failed: /home/siilwyn/codeground/selwyn.cc/node_modules/mozjpeg/vendor/cjpeg -optimize -progressive -outfile /tmp/0ae2c407-8250-4d25-8755-282aa9542763 /tmp/80d2c3e1-7f29-4ab1-bd73-a4259606b36d
/home/siilwyn/codeground/selwyn.cc/node_modules/mozjpeg/vendor/cjpeg: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
Details:
code: 127
killed: false
stdout:
stderr: /home/siilwyn/codeground/selwyn.cc/node_modules/mozjpeg/vendor/cjpeg: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
failed: true
signal: null
cmd: /home/siilwyn/codeground/selwyn.cc/node_modules/mozjpeg/vendor/cjpeg -optimize -progressive -outfile /tmp/0ae2c407-8250-4d25-8755-282aa9542763 /tmp/80d2c3e1-7f29-4ab1-bd73-a4259606b36d
timedOut: false
domainEmitter: [object Object]
domain: [object Object]
domainThrown: false
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Gatsby build failing on mozjpeg - Stack Overflow
installing dependencies without lock file. But nothing seemed to help, the error is as follows: error /node_modules/mozjpeg: Command failed.
Read more >node packages | Corvid by Wix
Date Package Name Version Status
12/27/2022 @auth0/auth0‑spa‑js 2.0.1 available
12/27/2022 @giphy/js‑fetch‑api 4.7.1 available
12/27/2022 @material/data‑table 14.0.0 available
Read more >Docker openresty/openresty:1.11.2.4-trusty - Snyk
A security regression of CVE-2019-9636 was discovered in python since commit ... Affects ISC DHCP versions 4.1.0 -> 4.1-ESV-R15, 4.2.0 -> 4.2.8, ...
Read more >logstash/logstash:5.2.0 | Docker @ Elastic
The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer ... Affects ISC DHCP versions 4.1.0 -> 4.1-ESV-R15, 4.2.0...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@1000ch after installing that it does give a different error message:
If 4.2.0 introduces new dependencies it should’ve been a major. Besides that the instructions in the readme:
apt-get install -y libjpeg libpng
don’t work, both packages are unable to locate. That said, version 4.1.0 of this module is still working fine.For anyone else searching here, if
libpng16
isn’t available on your distribution (I’m using Debian 8/jessie), you’ll need to build it yourself. I’m using a Docker image for deploys, so I installed it with these commands: