node 0.4.0 and npm 0.3 compatibility
joehewitt opened this issue · 3 comments
joehewitt commented
I just installed this module via npm to try it out, but I got this error when requiring it:
Error: Cannot find module 'git/blame_line'
Looks like a problem with the new module packaging system in node 0.4.0 and npm 0.3.
clarkf commented
Seconded. I'm getting cannot find module 'compress':
$ node -v
v0.4.0
$ npm -v
0.3.9
$ npm view git engines.node
>=0.4.0
$ node
> var g = require('git');
> Error: Cannot find module 'compress'
at Function._resolveFilename (module.js:289:11)
at Function._load (module.js:241:25)
at require (module.js:317:19)
at Object.<anonymous> (git/0.1.1/package/lib/git/loose_storage.js:8:16)
at Module._compile (module.js:373:26)
at Object..js (module.js:379:10)
at Module.load (module.js:305:31)
at Function._load (module.js:271:10)
at require (module.js:317:19)
at Object.<anonymous> (git/0.1.1/package/lib/git/repository.js:4:18)
cadorn commented
Me too:
$ node -v
v0.4.7
$ make test
Running "diff tests"
...............................
31 tests; 0 failures; 74 assertions
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'compress'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at Object.<anonymous> (/pinf/tmp/node-git/lib/git/loose_storage.js:8:16)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
at Object.<anonymous> (/pinf/tmp/node-git/lib/git/repository.js:4:18)
make: *** [test] Error 1
christkv commented
this seems to be working now