gifsicle-bin: npm install gifsicle@0.1.7 fails

node --version: 0.10.30 npm --version: 1.4.21

npm install gifsicle@0.1.7 was working for me last Friday, but it no longer works.

gifsicle@0.1.7 postinstall /home/vagrant/node_modules/gifsicle node index.js

⚠ pre-build test failed, compiling from source…

stream.js:94 throw er; // Unhandled stream error in pipe. ^ Error: invalid tar file at Extract.Parse._startEntry (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:145:13) at Extract.Parse._process (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:127:12) at BlockStream.<anonymous> (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:47:8) at BlockStream.emit (events.js:95:17) at BlockStream._emitChunk (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:145:10) at BlockStream.resume (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:58:15) at Extract.Reader.resume (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/reader.js:255:34) at DirWriter.<anonymous> (/home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/extract.js:57:8) at DirWriter.emit (events.js:92:17) at /home/vagrant/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/dir-writer.js:39:8 npm ERR! gifsicle@0.1.7 postinstall: node index.js npm ERR! Exit status 8 npm ERR! npm ERR! Failed at the gifsicle@0.1.7 postinstall script. npm ERR! This is most likely a problem with the gifsicle package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node index.js npm ERR! You can get their info via: npm ERR! npm owner ls gifsicle npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-358.el6.x86_64 npm ERR! command “/usr/share/node/bin/node” “/usr/share/node/bin/npm” “install” “gifsicle@0.1.7” npm ERR! cwd /home/vagrant npm ERR! node -v v0.10.30 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/vagrant/npm-debug.log npm ERR! not ok code 0

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 33 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Use grunt-contrib-imagemin@0.8.1. If the gifsicle binary fails upon installing grunt-contrib-imagemin, install gifsicle@1.0.3.

@strann, grunt-contrib-imagemin 0.8.1 should point to the right version.