Node.js 使用sendgrid模块部署到heroku时出现npm错误

Node.js 使用sendgrid模块部署到heroku时出现npm错误,node.js,heroku,npm,sendgrid,Node.js,Heroku,Npm,Sendgrid,我刚刚安装了Sendgrid npm模块以及相应的Heroku插件(),但现在无法部署。不确定依赖项错误是什么,但以下是我的日志: -----> Removing .DS_Store files -----> Node.js app detected -----> Resolving engine versions Using Node.js version: 0.10.0 Using npm version: 1.2.12 -----> Fe

我刚刚安装了Sendgrid npm模块以及相应的Heroku插件(),但现在无法部署。不确定依赖项错误是什么,但以下是我的日志:

-----> Removing .DS_Store files
-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.10.0
       Using npm version: 1.2.12
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
   npm http GET https://registry.npmjs.org/express
   npm http 200 https://registry.npmjs.org/express
   npm http GET https://registry.npmjs.org/express/-/express-3.1.0.tgz
   npm http 200 https://registry.npmjs.org/express/-/express-3.1.0.tgz
   npm ERR! Error: spawn ENOENT
   npm ERR!     at errnoException (child_process.js:945:11)
   npm ERR!     at Process.ChildProcess._handle.onexit (child_process.js:736:34)
   npm ERR! If you need help, you may report this log at:
   npm ERR!     <http://github.com/isaacs/npm/issues>
   npm ERR! or email it to:
   npm ERR!     <npm-@googlegroups.com>

   npm ERR! System Linux 2.6.32-350-ec2
   npm ERR! command "/tmp/node-node-2mQ6/bin/node" "/tmp/node-npm-yvGj/cli.js" "rebuild"
   npm ERR! cwd /tmp/build_1y5wgumdk981a
   npm ERR! node -v v0.10.0
   npm ERR! npm -v 1.2.12
   npm ERR! syscall spawn
   npm ERR! code ENOENT
   npm ERR! errno ENOENT
   npm ERR! 
   npm ERR! Additional logging details can be found in:
   npm ERR!     /tmp/build_1y5wgumdk981a/npm-debug.log
   npm ERR! not ok code 0
 !     Failed to rebuild dependencies with npm
 !     Heroku push rejected, failed to compile Node.js app

我做错了什么或错过了什么?如果我删除Sendgrid模块,我的应用程序部署正常。

是否尝试较低版本的node?看起来0.10.0刚刚发布,可能还有一些问题需要解决。

解决了。意识到我使用的是节点版本0.10.0,这可能不受支持。
 {
    "name": "Test"
  , "version": "0.0.1"
  , "private": true
  , "dependencies": {
      "express": "3.1.*"
  , "stylus": ">= 0.0.1"
  , "jade": ">= 0.0.1"
  , "sendgrid": ">= 0.2.5"
  , "ejs": ">= 0.8.3"
  , "path": ">= 0.4.9"
},
  "engines": {
     "node": ">=0.8.19",
      "npm": ">=1.2.10"
  }
}