Node.js 运行Jugernaut时出错

Node.js 运行Jugernaut时出错,node.js,installation,redis,juggernaut,Node.js,Installation,Redis,Juggernaut,我刚刚在windows服务器(64位)上安装了NodeSJ和Juggernaut(是的,还有redis) 它不起作用。。。根据评估,这似乎只是安装和运行 这是我得到的错误: node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module 'optimist' at Function._resolv

我刚刚在windows服务器(64位)上安装了NodeSJ和Juggernaut(是的,还有redis)

它不起作用。。。根据评估,这似乎只是安装和运行

这是我得到的错误:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Cannot find module 'optimist'
    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.<anonymous> (C:\Node\application\juggernaut\server.js:2:12)
    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 Array.0 (module.js:470:10)
node.js:201
抛出e;//process.nextTick错误,或第一次勾选时的“error”事件
^
错误:找不到模块“optimist”
at函数。\u解析文件名(module.js:334:11)
at功能。加载(模块js:279:25)
at Module.require(Module.js:357:17)
根据需要(模块js:368:17)
反对。(C:\Node\application\juggernaut\server.js:2:12)
在模块处编译(Module.js:432:26)
at Object..js(module.js:450:10)
在Module.load(Module.js:351:31)
at功能。加载(module.js:310:12)
在Array.0中(module.js:470:10)

有人吗?

我在克隆了git repo之后试图运行“nodejs server.js”时,在Ubuntu12.10下也遇到了同样的问题

最后,我用npm安装了juggernaut(“npm安装-g juggernaut”),现在我可以成功运行“nodejs/usr/local/lib/node\u modules/juggernaut/server.js”(路径可能取决于您的npm模块安装)。

因为没有优化模块,请看一看,这似乎是一个类似的错误。