question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to install grunt-contrib-imagemin

See original GitHub issue

Currently unable to install grunt-contrib-imagemin, looks like the jpegtran-bin dependency is borked.

Should this be logged here, or with the jpegtran-bin project?


Error: Command failed: configure: error: no nasm (Netwide Assembler) found

at ChildProcess.exithandler (child_process.js:540:15)
at ChildProcess.EventEmitter.emit (events.js:99:17)
at maybeClose (child_process.js:638:16)
at Process._handle.onexit (child_process.js:680:5)

npm ERR! jpegtran-bin@0.1.7 postinstall: node pre-build.js npm ERR! sh "-c" "node pre-build.js" failed with 1 npm ERR! npm ERR! Failed at the jpegtran-bin@0.1.7 postinstall script. npm ERR! This is most likely a problem with the jpegtran-bin package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node pre-build.js npm ERR! You can get their info via: npm ERR! npm owner ls jpegtran-bin npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.18-308.el5 npm ERR! command “/usr/local/bin/node” “/usr/local/bin/npm” “install” npm ERR! cwd /home/jdaihl/projects/madmen-web-wl npm ERR! node -v v0.8.15 npm ERR! npm -v 1.1.66 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/jdaihl/projects/madmen-web-wl/npm-debug.log npm ERR! not ok code 0

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:20 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
sindresorhuscommented, Aug 27, 2013

npm cache clean, delete your node_modules folder, then npm install.

1reaction
mkelley33commented, Sep 1, 2013

@kontinuity I ended up removing my globally installed dependencies (I didn’t have that many so it wasn’t impractical), and ran brew install libpng and the tests passed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Npm module "grunt-contrib-imagemin" not found, Is it installed?
I can't build projects no more. When I try to install the module doing: npm install grunt-contrib-imagemin. It can never install it, get...
Read more >
unable to install · Issue #65 · gruntjs/grunt-contrib-imagemin
Hi, when I try to install I get the following error $ npm install grunt-contrib-imagemin npm WARN package.json euml@0.0.0 No description npm ...
Read more >
grunt-contrib-imagemin - npm
Start using grunt-contrib-imagemin in your project by running `npm i ... Install. npm install --save-dev grunt-contrib-imagemin ...
Read more >
Grunt build fail due to imagemin issue, what is wrong?
I am trying to build an app using `grunt build` and I got this error: ... /var/www/html/mt060915-00-sara/node_modules/grunt-contrib-imagemin/node_modules/ ...
Read more >
Gradle deploy fails while running imagemin:dist
Hi I am trying to install Openspecimen on CentOS 5.8. While issuing the command deploy, it exits with following error: Done, without errors....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found