Comments (10)
Same problem on our Gatsby project. I added the following to pin the older version that did work in my package.json
:
"resolutions": {
"mozjpeg": "7.1.0"
}
Then just ran yarn install
and committed the new package.json
and yarn.lock
files.
from mozjpeg-bin.
+1
from mozjpeg-bin.
+1
from mozjpeg-bin.
Any solutions? Work well on macOS. but still same issue when try build in jenkins
from mozjpeg-bin.
@DaveDev13
Can I see the detailed error log? then is this related to #67?
from mozjpeg-bin.
@1000ch looks like yep
12:48:52 npm ERR! code ELIFECYCLE
12:48:52 npm ERR! errno 1
12:48:52 npm ERR! [email protected] postinstall: `node lib/install.js`
12:48:52 npm ERR! Exit status 1
12:48:52 npm ERR!
12:48:52 npm ERR! Failed at the [email protected] postinstall script.
12:48:52 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:48:52
12:48:52 npm ERR! A complete log of this run can be found in:
12:48:52 npm ERR! /home/node/.npm/_logs/2021-10-18T09_48_52_129Z-debug.log
12:48:52 The command '/bin/sh -c npm update' returned a non-zero code: 1
from mozjpeg-bin.
Same problem on our Gatsby project. I added the following to pin the older version that did work in my
package.json
:"resolutions": { "mozjpeg": "7.1.0" }
Tried it but it didn't help, I'll try again)
from mozjpeg-bin.
@VallyPepyako
Sorry, I couldn't get what kind of error happend from #68 (comment). Could you try node lib/install.js
in your node_mosules/mozjpeg-bin
directory?
from mozjpeg-bin.
Also have this issue: Here's the output from sudo cat /root/.npm/_logs/2021-10-22T23_48_13_207Z-debug.log
23919 error code ELIFECYCLE
23920 error errno 1
23921 error [email protected] postinstall: `node lib/install.js`
23921 error Exit status 1
23922 error Failed at the [email protected] postinstall script.
23922 error This is probably not a problem with npm. There is likely additional logging output above.
23923 verbose exit [ 1, true ]
from mozjpeg-bin.
This issue is a duplication of #67.
from mozjpeg-bin.
Related Issues (20)
- Not working in node:alpine Docker base image HOT 7
- EventEmitter memory leak detected!
- Build script issue HOT 3
- Please add environment variable to set bin download URL HOT 1
- Trying to install mozjpeg - behind corporate network HOT 2
- Can't build on raspberry pi. HOT 1
- MozJPEG 4
- mozjpeg pre-build test failed, and "autoreconf -fiv" HOT 2
- Bad gateway when Github is having operational problems
- Resolve dependency on logsalot related to CVE-2021-33623 HOT 1
- Apple Silicon M1 builds fail with incorrect path to libpng libraries HOT 7
- the path exist? mozjpeg\vendor\cjpeg.exe -baseline spawn HOT 1
- npm install error 7.1.1 HOT 16
- its not worked
- Bump `bin-wrapper` to latest stable package
- Using pre-compiled binary fails with got@^11.7.0 HOT 1
- mozjpeg preinstall failed
- mozjpeg not support on centos 7 HOT 1
- Release new version to npm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mozjpeg-bin.