LearnBoost/juice — Issue #2: Cannot install from npm
Author: ekryski
Created: 2011-10-31 17:25:22+00:00
State: open

I was able to get juice to install a few days ago but now I get a bunch of errors. Same errors occur when using sudo and npm -g install.

```
npm install juice

> contextify@0.0.6 preinstall /Users/ericKryski/node_modules/juice/node_modules/jsdom/node_modules/contextify
> node-waf clean || true; node-waf configure build

npm ERR! gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz" gzip: /Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz: unexpected end of file
npm ERR! gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! Failed unpacking /Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz
npm ERR! error installing htmlparser@1.7.3 Error: Failed gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! error installing htmlparser@1.7.3 exited with 1
npm ERR! error installing htmlparser@1.7.3 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:77:19)
npm ERR! error installing htmlparser@1.7.3 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing htmlparser@1.7.3 at Socket. (child_process.js:179:12)
npm ERR! error installing htmlparser@1.7.3 at Socket.emit (events.js:81:20)
npm ERR! error installing htmlparser@1.7.3 at Array.0 (net.js:831:12)
npm ERR! error installing htmlparser@1.7.3 at EventEmitter._tickCallback (node.js:126:26)
npm ERR! error installing jsdom@0.2.5 Error: Failed gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! error installing jsdom@0.2.5 exited with 1
npm ERR! error installing jsdom@0.2.5 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:77:19)
npm ERR! error installing jsdom@0.2.5 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing jsdom@0.2.5 at Socket. (child_process.js:179:12)
npm ERR! error installing jsdom@0.2.5 at Socket.emit (events.js:81:20)
npm ERR! error installing jsdom@0.2.5 at Array.0 (net.js:831:12)
npm ERR! error installing jsdom@0.2.5 at EventEmitter._tickCallback (node.js:126:26)
npm ERR! error installing juice@0.0.5 Error: Failed gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! error installing juice@0.0.5 exited with 1
npm ERR! error installing juice@0.0.5 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:77:19)
npm ERR! error installing juice@0.0.5 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing juice@0.0.5 at Socket. (child_process.js:179:12)
npm ERR! error installing juice@0.0.5 at Socket.emit (events.js:81:20)
npm ERR! error installing juice@0.0.5 at Array.0 (net.js:831:12)
npm ERR! error installing juice@0.0.5 at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Error: Failed gzip "--decompress" "--stdout" "/Users/ericKryski/.npm/htmlparser/1.7.3/package.tgz"
npm ERR! exited with 1
npm ERR! at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:77:19)
npm ERR! at ChildProcess.emit (events.js:67:17)
npm ERR! at Socket. (child_process.js:179:12)
npm ERR! at Socket.emit (events.js:81:20)
npm ERR! at Array.0 (net.js:831:12)
npm ERR! at EventEmitter._tickCallback (node.js:126:26)
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "juice"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ericKryski/Desktop/Development/MMC/npm-debug.log
npm not ok
```