Node.js OrError NO_SUPPORT:不支持连接协议-是否为postgres安装了数据库驱动程序?

Node.js OrError NO_SUPPORT:不支持连接协议-是否为postgres安装了数据库驱动程序?,node.js,node-orm2,Node.js,Node Orm2,我正试图在ubuntu 13.10上部署一个nodejs应用程序。我已经在我本地的mac电脑上测试过了(运行良好) 但当我尝试在我的ubuntu服务器上运行它时,我发现: [ORMError NO_SUPPORT: Connection protocol not supported - have you installed the database driver for postgres?] at Object.exports.connect (/home/ubuntu/node_modules

我正试图在ubuntu 13.10上部署一个nodejs应用程序。我已经在我本地的mac电脑上测试过了(运行良好)

但当我尝试在我的ubuntu服务器上运行它时,我发现:

[ORMError NO_SUPPORT: Connection protocol not supported - have you installed the database driver for postgres?]
at Object.exports.connect (/home/ubuntu/node_modules/orm/lib/ORM.js:138:21)
at Object.module.exports (/home/ubuntu/node_modules/orm/lib/Express.js:12:6)
at Object.exports.express (/home/ubuntu/node_modules/orm/lib/ORM.js:39:30)
at Object.<anonymous> (/home/ubuntu/www/sher/nodejs/app.js:30: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 Module.require (module.js:364:17)
at require (module.js:380:17)
error: Forever detected script exited with code: 8

我只是一个接一个地重新安装了所有的软件包和模块。似乎解决了这个问题。

我所有使用orm的项目都遇到了这个问题,这是在同一系统上升级6/7/8之间的节点版本时造成的。在每个项目中重新安装所有软件包解决了这个问题-假设存在一些二进制级别的兼容性问题,谢谢您的建议。
{
  "name": "nodejs",
  "version": "0.0.1",
  "private": true,
  "scripts": {
  "start": "node ./bin/www"
},
  "dependencies": {
    "express": "~4.2.0",
    "static-favicon": "~1.0.0",
    "morgan": "~1.0.0",
    "cookie-parser": "~1.0.1",
    "body-parser": "~1.0.0",
    "debug": "~0.7.4",
    "jade": "~1.3.0"
  }
}