【发布时间】:2011-07-18 05:18:14
【问题描述】:
npm uninstall express成功卸载express,当我ls $NODE_PATH时就没有了。
但是,如果我运行 node 和 require('express'),我会得到
{ version: '1.0.0rc2',
Server: { [Function: Server] super_: { [Function: Server] super_: [Object] } },
createServer: [Function] }
为什么还会出现这种情况?
我使用 Express 的原因是(显然)它与特定版本的 Connect 中断。有谁知道 Express 和 Connect 的成功组合会起作用吗?
谢谢!
【问题讨论】:
-
我正在使用 Express 2.0.0 和 Connect 1.1.0,到目前为止它运行良好。
标签: javascript node.js connect express npm