将流星应用程序部署到heroku时失败

时间:2016-12-30 18:23:19

标签: node.js meteor heroku

当我尝试将meteor应用程序部署到heroku时,我收到以下错误消息 ,谁知道如何解决它?

https://gist.github.com/amrshedou/a2a96ca479e8a9effa5a8f0ab175ddbb

我的package.json

{
  "name": "microscope",
   "engines": {
    "node": "6.9.2"
  },
  "scripts": {
  "meteor": "MONGO_URL=mongodb://<username>:<password>@ meteor",

    "start": "meteor run"
  },

  "dependencies": {

    "meteor": "~0.5.2",
    "babel-runtime": "^6.20.0",
    "meteor-node-stubs": "~0.2.0"
  }
}

更新

使用此版本时问题已解决 https://github.com/AdmitHub/meteor-buildpack-horse.git 并将package.json更改为

{
  "name": "microscope",
  "engines": {
    "node": "6.9.2",
    "npm": "3.10.9"
  },
  "scripts": {
    "start": "meteor run"
  },
  "dependencies": {
    "babel-runtime": "^6.20.0",
    "meteor-node-stubs": "~0.2.0"
  }
}

0 个答案:

没有答案