凉亭安装失败并显示502

时间:2018-07-29 16:28:47

标签: javascript heroku

嗨,我正在尝试使用Heroku Node.js buildpack将其推到heroku上,并且Bower安装出现错误。

这是日志跟踪:

 2018-07-01T15:33:02.37+0800 [STG/0] OUT        bower angular-svg-round-progressbar#^0.4.8          EINVRES Request to https://bower.herokuapp.com/packages/angular-svg-round-progressbar failed with 502
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! code ELIFECYCLE
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! errno 1
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! CardsAgainstIdiots@0.1.0 postinstall: `bower install && gulp`
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! Exit status 1
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR!
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! Failed at the CardsAgainstIdiots@0.1.0 postinstall script.
   2018-07-01T15:33:02.40+0800 [STG/0] OUT        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
   2018-07-01T15:33:02.51+0800 [STG/0] OUT        
   2018-07-01T15:33:02.51+0800 [STG/0] OUT        npm ERR! A complete log of this run can be found in:
   2018-07-01T15:33:02.51+0800 [STG/0] OUT        npm ERR!     /tmp/npmcache.lyAJz/_logs/2018-07-01T07_33_02_470Z-debug.log
   2018-07-01T15:33:02.54+0800 [STG/0] OUT -----> Build failed
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        We're sorry this build is failing! You can troubleshoot common issues here:
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        https://devcenter.heroku.com/articles/troubleshooting-node-deploys
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        https://help.heroku.com/
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        Heroku
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        If you're stuck, please submit a ticket so we can help:
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        
   2018-07-01T15:33:02.69+0800 [STG/0] OUT        Love,
   2018-07-01T15:33:02.69+0800 [STG/0] OUT   

这是我在pakage.json中拥有的

{
  "name": "CardsAgainstIdiots",
  "version": "0.1.0",
  "description": "An online Cards Against Humanity clone",
  "license": "CC-BY-NC-SA-4.0",
  "author": {
    "name": "Ryan Overhauser",
    "email": "ryan.overhauser@gmail.com",
    "url": "http://ryanoverhauser.com/"
  },
  "engines": {
    "node": "4.8.4"
  },
  "scripts": {
    "build": "npm install && bower install && gulp",
    "jshint": "gulp jshint",
    "jscs": "jscs gulpfile.js index.js server client/src",
    "postinstall": "bower install && gulp",
    "start": "node index.js"
  },
  "dependencies": {
    "cli-table": "^0.3.1",
    "debug": "^2.2.0",
    "dotenv": "^2.0.0",
    "express": "^4.14.0",
    "mongodb": "^2.2.11",
    "mysql": "^2.11.1",
    "pug": "^2.0.0-beta6",
    "socket.io": "^1.5.0",
    "timesync": "^0.2.1",
    "uuid": "^3.0.0",
    "validator": "^3.22.1"
  },
  "devDependencies": {
    "asset-builder": "^1.1.0",
    "bower": "^1.8.0",
    "browser-sync": "^2.8.2",
    "del": "^2.2.2",
    "gulp": "^3.9.0",
    "gulp-autoprefixer": "^3.1.1",
    "gulp-changed": "^1.3.0",
    "gulp-concat": "^2.6.0",
    "gulp-cssnano": "^2.1.0",
    "gulp-flatten": "0.3.1",
    "gulp-if": "^2.0.1",
    "gulp-imagemin": "^3.0.3",
    "gulp-jshint": "^2.0.1",
    "gulp-less": "^3.0.3",
    "gulp-plumber": "^1.0.1",
    "gulp-rename": "^1.2.2",
    "gulp-rev": "^7.1.2",
    "gulp-sass": "^2.0.1",
    "gulp-sourcemaps": "^1.5.2",
    "gulp-uglify": "^2.0.0",
    "imagemin-pngcrush": "^5.0.0",
    "jshint": "^2.9.3",
    "jshint-stylish": "^2.0.1",
    "lazypipe": "^1.0.1",
    "merge-stream": "^1.0.0",
    "minimist": "^1.1.3",
    "run-sequence": "^1.1.2",
    "traverse": "^0.6.6",
    "wiredep": "^4.0.0"
  },
  "babel": {
    "presets": [
      "es2015"
    ]
  }
}

当我尝试将其推到heroku时,这是错误,我不确定这里发生了什么?任何人都可以帮助,将不胜感激?

0 个答案:

没有答案
相关问题