nodejitsu/node-http-proxy — Issue #182: Error: Cannot find module 'pkginfo'
Author: hynese
Created: 2012-01-26 08:51:25+00:00
State: open

Greetings,

I'm trying to run the examples, but keep getting the following error (I successfully did `sudo npm install pkginfo`):

sudo node basic-proxy.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'pkginfo'
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/hynese/Desktop/bytecache/new/node-http-proxy/lib/node-http-proxy.js:36:1)
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)

Can anyone help?

I'm using node version v0.6.8.