Can't run it if installed from npm
logicware opened this issue · 3 comments
Can't run it if installed from npm
Same for me (but I don't no if it is the same problem so):
module.js:340
throw err;
^
Error: Cannot find module 'connect/lib/middleware/session/cookie'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (node_modules/mongoui/node_modules/derby/node_modules/racer/lib/session/session.Store.js:2:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (node_modules/mongoui/node_modules/derby/node_modules/racer/lib/session/index.js:1:80)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at plugin (node_modules/mongoui/node_modules/derby/node_modules/racer/lib/racer.server.js:123:10)
at EventEmitter.module.exports.use (node_modules/mongoui/node_modules/derby/node_modules/racer/lib/plugin.js:41:7)
at Object. (node_modules/mongoui/node_modules/derby/node_modules/racer/lib/racer.js:31:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (node_modules/mongoui/node_modules/derby/lib/derby.js:1:75)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (node_modules/mongoui/index.js:23:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3
Just clone the repo and it will work.
yeah, don't try to use NPM, download zip or clone the repo!
CC @logicware @igoel