Heroku CLI部署插件安装失败。 [JHipster]

时间:2017-12-07 08:00:32

标签: java jhipster heroku-toolbelt heroku-cli

您好我想将我的jHipster生成的源代码部署到Heroku,但问题是,当我运行命令 jhipster heroku 时,它会尝试安装heroku cli部署插件并因以下错误而失败。

x { Error: Command failed: heroku plugins:install heroku-cli-deploy
Installing plugin heroku-cli-deploy... !
!    yarn --non-interactive
!    --mutex=file:C:\Users\hassnan.ali\AppData\Local\heroku\yarn
!    --cache-folder=C:\Users\hassnan.ali\AppData\Local\heroku\yarn exited with
!    code 1
!    warning There appears to be trouble with your network connection.
!    Retrying...
!    warning There appears to be trouble with your network connection.
!    Retrying...
!    warning There appears to be trouble with your network connection.
!    Retrying...
!    warning There appears to be trouble with your network connection.
!    Retrying...
!    error An unexpected error occurred:
!    "http://cli-npm.heroku.com/heroku-cli-deploy/-/heroku-cli-deploy-0.4.0/d9f2343c51c08107f6265b34e138c6ba07128f10.tgz:
!    ESOCKETTIMEDOUT".
!

at ChildProcess.exithandler (child_process.js:271:12)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:927:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
killed: false,
code: 1,
signal: null,
cmd: 'heroku plugins:install heroku-cli-deploy' }
Execution complete

到目前为止我做了什么?

  1. 安装了Heroku toolbelt [success]
  2. 创建了herkou免费帐户[success]
  3. 登录我的heroku帐户[success]
  4. run' jhipster heroku'命令[失败] [错误在上面说明]
  5. 我在 Windows 7 64位上。 jhipster 4.9.0 我使用jhipster服务器命令等单独生成了我的应用程序。

    请注意:我的互联网工作正常。

    感谢任何形式的帮助或建议。我被困了,请帮帮忙。我之前从未使用过heroku。

0 个答案:

没有答案