Error with install

110 views
Skip to first unread message

Aaron Sikes

unread,
Mar 6, 2013, 4:14:09 PM3/6/13
to nod...@googlegroups.com
OSX 10.8.2
nodejs 0.8.14
npm 1.1.65


console output log:

~$ npm install git
npm WARN excluding symbolic link compress.node -> build/default/compress.node

> comp...@0.1.9 install /Users/aaron/node_modules/git/node_modules/compress
> node-waf clean ; node-waf configure build

Nothing to clean (project not configured)
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 program gcc or cc           : /usr/bin/gcc 
Checking for gcc                         : ok  
Checking for node path                   : not found 
Checking for node prefix                 : ok /usr/local/Cellar/node/0.8.14 
Checking for library z                   : yes 
'configure' finished successfully (0.557s)
Waf: Entering directory `/Users/aaron/node_modules/git/node_modules/compress/build'
[1/2] cxx: compress.cc -> build/Release/compress_1.o
../compress.cc:2:25: error: node_events.h: No such file or directory
../compress.cc:14: error: expected class-name before ‘{’ token
../compress.cc: In static member function ‘static void Gzip::Initialize(v8::Handle<v8::Object>)’:
../compress.cc:23: error: ‘EventEmitter’ has not been declared
../compress.cc: In static member function ‘static v8::Handle<v8::Value> Gzip::New(const v8::Arguments&)’:
../compress.cc:122: error: ‘class Gzip’ has no member named ‘Wrap’
../compress.cc: In constructor ‘Gzip::Gzip()’:
../compress.cc:198: error: class ‘Gzip’ does not have any field named ‘EventEmitter’
../compress.cc: At global scope:
../compress.cc:212: error: expected class-name before ‘{’ token
../compress.cc: In static member function ‘static void Gunzip::Initialize(v8::Handle<v8::Object>)’:
../compress.cc:221: error: ‘EventEmitter’ has not been declared
../compress.cc: In static member function ‘static v8::Handle<v8::Value> Gunzip::New(const v8::Arguments&)’:
../compress.cc:302: error: ‘class Gunzip’ has no member named ‘Wrap’
../compress.cc: In constructor ‘Gunzip::Gunzip()’:
../compress.cc:357: error: class ‘Gunzip’ does not have any field named ‘EventEmitter’
Waf: Leaving directory `/Users/aaron/node_modules/git/node_modules/compress/build'
Build failed:  -> task failed (err #1): 
{task: cxx compress.cc -> compress_1.o}
npm ERR! comp...@0.1.9 install: `node-waf clean ; node-waf configure build`
npm ERR! `sh "-c" "node-waf clean ; node-waf configure build"` failed with 1
npm ERR! 
npm ERR! Failed at the comp...@0.1.9 install script.
npm ERR! This is most likely a problem with the compress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-waf clean ; node-waf configure build
npm ERR! You can get their info via:
npm ERR!     npm owner ls compress
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 12.2.1
npm ERR! command "/usr/local/Cellar/node/0.8.14/bin/node" "/usr/local/bin/npm" "install" "git"
npm ERR! cwd /Users/aaron
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/aaron/npm-debug.log
npm ERR! not ok code 0

christoph hermann

unread,
Apr 20, 2013, 2:36:12 AM4/20/13
to nod...@googlegroups.com
Hi Aaron,
I've got the same error wenn installing git...
Have you come across a solution?

Vincent Giersch

unread,
Jun 19, 2013, 7:43:35 AM6/19/13
to nod...@googlegroups.com
Fixed in version 0.1.5.
Reply all
Reply to author
Forward
0 new messages