用于Dart的Heroku buildpack:将应用程序推送到Heroku

时间:2017-06-19 19:49:36

标签: heroku dart push buildpack

我正在使用以下Github存储库中的“Heroku buildpack for Dart”:https://github.com/igrigorik/heroku-buildpack-dartam

我按照命令集将使用Dart构建的HTTP服务器部署到Heroku,一旦我尝试将应用程序推送到Heroku(git push heroku master),我收到以下错误:

    remote:   End-of-central-directory signature not found.  Either 
    remote:   this file is not a zipfile, or it constitutes one disk of 
    remote:   a multi-part archive.  In the latter case the central 
    remote:   directory and zipfile comment will be found on the last 
    remote:   disk(s) of this archive.
    remote: unzip:  cannot find zipfile directory in one of dart-
    remote:         sdk.zip or dart-sdk.zip.zip, and cannot find dart-
    remote:         sdk.zip.ZIP, period.
    remote:  !     Push rejected, failed to compile Dart app.
    remote: 
    remote:  !     Push failed
    remote: Verifying deploy...
    remote:  
    remote: !   Push rejected to testdartapp.
    remote: 
    To https://git.heroku.com/testdartapp.git
     ! [remote rejected] master -> master (pre-receive hook declined)
    error: failed to push some refs to 
    'https://git.heroku.com/testdartapp.git'

我附上了终端输出的屏幕截图:Pushing app to Heroku

非常感谢任何建议!提前谢谢。

0 个答案:

没有答案