Create a gist now

Instantly share code, notes, and snippets.

eferraiuolo@BlackMagic ~/Tools/node $ npm install zombie
npm info it worked if it ends with ok
npm info using npm@0.2.13-3
npm info using node@v0.3.3
npm info preinstall base64@1.0.1
npm info preinstall cssom@0.2.0
npm info preinstall mime@1.1.0
npm info preinstall zombie@0.8.8
npm info install base64@1.0.1
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /Users/eferraiuolo/Tools/local
'configure' finished successfully (0.107s)
Waf: Entering directory `/Users/eferraiuolo/Tools/local/lib/node/.npm/base64/1.0.1/package/build'
[1/2] cxx: base64.cc -> build/default/base64_1.o
../base64.cc: In function ‘v8::Handle<v8::Value> base64_encode_binding(const v8::Arguments&)’:
../base64.cc:132: error: ‘class node::Buffer’ has no member named ‘data’
../base64.cc:132: error: ‘class node::Buffer’ has no member named ‘length’
../base64.cc: In function ‘v8::Handle<v8::Value> base64_decode_binding(const v8::Arguments&)’:
../base64.cc:150: error: ‘class node::Buffer’ has no member named ‘data’
../base64.cc:150: error: ‘class node::Buffer’ has no member named ‘length’
Waf: Leaving directory `/Users/eferraiuolo/Tools/local/lib/node/.npm/base64/1.0.1/package/build'
Build failed: -> task failed (err #1):
{task: cxx base64.cc -> base64_1.o}
npm info base64@1.0.1 Failed to exec install script
npm ERR! install failed Error: base64@1.0.1 install: `node-waf configure build`
npm ERR! install failed `sh` failed with 1
npm ERR! install failed at ChildProcess.<anonymous> (/Users/eferraiuolo/Tools/local/lib/node/.npm/npm/0.2.13-3/package/lib/utils/exec.js:25:18)
npm ERR! install failed at ChildProcess.emit (events.js:34:17)
npm ERR! install failed at ChildProcess.onexit (child_process.js:164:12)
npm info install failed rollback
npm info uninstall [ 'zombie@0.8.8',
npm info uninstall 'base64@1.0.1',
npm info uninstall 'cssom@0.2.0',
npm info uninstall 'mime@1.1.0' ]
npm info preuninstall zombie@0.8.8
npm info preuninstall base64@1.0.1
npm info preuninstall cssom@0.2.0
npm info preuninstall mime@1.1.0
npm info uninstall zombie@0.8.8
npm info uninstall base64@1.0.1
npm info uninstall cssom@0.2.0
npm info uninstall mime@1.1.0
npm info auto-deactive not symlink
npm info auto-deactive not symlink
npm info auto-deactive not symlink
npm info auto-deactive not symlink
npm info postuninstall base64@1.0.1
npm info postuninstall mime@1.1.0
npm info postuninstall zombie@0.8.8
npm info postuninstall cssom@0.2.0
npm info uninstall mime@1.1.0 complete
npm info uninstall base64@1.0.1 complete
npm info uninstall cssom@0.2.0 complete
npm info uninstall zombie@0.8.8 complete
npm info install failed rolled back
npm ERR! Error: base64@1.0.1 install: `node-waf configure build`
npm ERR! `sh` failed with 1
npm ERR! at ChildProcess.<anonymous> (/Users/eferraiuolo/Tools/local/lib/node/.npm/npm/0.2.13-3/package/lib/utils/exec.js:25:18)
npm ERR! at ChildProcess.emit (events.js:34:17)
npm ERR! at ChildProcess.onexit (child_process.js:164:12)
npm ERR!
npm ERR! Failed at the base64@1.0.1 install script.
npm ERR! This is most likely a problem with the base64 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls base64
npm ERR! There may be additional logging output above.
npm not ok
@txus
txus commented Jan 5, 2011

+1 :(

@ericf
Owner
ericf commented Jan 5, 2011

txus, use this fork: https://github.com/substack/node-base64

git clone git://github.com/substack/node-base64.git
cd node-base64
npm install .
@awt
awt commented Jan 25, 2011

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment