gpt4 book ai didi

git - Dokku的Dart项目。未能掌握

转载 作者:行者123 更新时间:2023-12-02 20:29:42 24 4
gpt4 key购买 nike

我正在尝试在DigitalOcean上使用Dokku构建Dart项目。以与Node.js项目相同的方式进行。但是在将git推送到Dokku来源时出现错误。您能帮我吗?

$ git push dokku master 
Counting objects: 632, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (605/605), done.
Writing objects: 100% (632/632), 7.98 MiB | 74.00 KiB/s, done.
Total 632 (delta 264), reused 0 (delta 0)
-----> Building svpe ...
Dart app detected
-----> Welcome, this machine is: Linux e82c0d50ae50 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
-----> Installing Dart VM via URL http://commondatastorage.googleapis.com/dart-editor-archive-integration/latest/dartsdk-linux-64.tar.gz
remote: % Total % Received % Xferd Average Speed Time Time Time Current
remote: Dload Upload Total Spent Left Speed
remote: 100 127 100 127 0 0 426 0 --:--:-- --:--:-- --:--:-- 494
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
To dokku@95.85.57.74:svpe
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@95.85.57.74:svpe'

最佳答案

似乎您在使用dart-editor-linux tarball时遇到了麻烦。我认为它已被阻止,或者您正在获取404页面,因为根据输出,它似乎下载得很少。尝试进入计算机,然后执行“wget http://commondatastorage.googleapis.com/dart-editor-archive-integration/latest/dartsdk-linux-64.tar.gz”,看看会得到什么。如果文件很小,请在vim或nano中打开它,看看它是否不是HTML。

我认为,一旦您对此做出了诊断,它将使您走得更远。现在,由于文件无效,无法取消归档文件。

关于git - Dokku的Dart项目。未能掌握,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21353511/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com