Unable to install grunt-contrib-imagemin
See original GitHub issueCurrently 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:
- Created 10 years ago
- Comments:20 (3 by maintainers)
npm cache clean
, delete your node_modules folder, thennpm install
.@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.