Code Monkey home page Code Monkey logo

Comments (10)

TheKnarf avatar TheKnarf commented on September 3, 2024 6

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.

makaiqian avatar makaiqian commented on September 3, 2024

+1

from mozjpeg-bin.

imfangli avatar imfangli commented on September 3, 2024

+1

from mozjpeg-bin.

VallyPepyako avatar VallyPepyako commented on September 3, 2024

Any solutions? Work well on macOS. but still same issue when try build in jenkins

from mozjpeg-bin.

1000ch avatar 1000ch commented on September 3, 2024

@DaveDev13
Can I see the detailed error log? then is this related to #67?

from mozjpeg-bin.

VallyPepyako avatar VallyPepyako commented on September 3, 2024

@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.

VallyPepyako avatar VallyPepyako commented on September 3, 2024

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.

1000ch avatar 1000ch commented on September 3, 2024

@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.

seanpmaxwell avatar seanpmaxwell commented on September 3, 2024

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.

1000ch avatar 1000ch commented on September 3, 2024

This issue is a duplication of #67.

from mozjpeg-bin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.