isaacs/npm — Issue #1646: Cannot find module './zlib_bindings'
Author: totaldqnt
Created: 2011-11-02 20:49:05+00:00
State: open

NodeJs v0.5.9

How do I check if I have the module zlib_bindings?

(I did "sudo apt-get install build-essential zlib1g-dev git-core python curl")

when I run "node app.js", I got the following error:

node.js:203
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module './zlib_bindings'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/home/admin1/lmcnatr/helloworld/example-spdy/node_modules/express-spdy/node_modules/spdy/node_modules/zlibcontext/lib/zlib.js:1:80)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)