dansteingart/Ardustat — Issue #13: Cannot find module
Author: MeisBarry
Created: 2012-01-30 23:42:06+00:00
State: open

Currently getting this error on 2 machines tested (both Lion). It looks like a directory/nested libs issue, but I'm not familiar enough with the structure to debug it.

$ node expresserver.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module './lib/formidable'
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. (/Users/barry/code/ardustat/Ardustat/NodeJS/Ardustat_Control/node_modules/express/node_modules/connect/node_modules/formidable/index.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)