Elixir 使用Gigalixir部署时出现问题

Elixir 使用Gigalixir部署时出现问题,elixir,phoenix-framework,gigalixir,Elixir,Phoenix Framework,Gigalixir,当我尝试使用gigalixir部署时,我遇到了这个错误。我不知道为什么使用长生不老药这么难 -----> Checking Erlang and Elixir versions Will use the following versions: * Stack cedar-14 * Erlang 21.0 remote: Elixir 1.9.1 -----> Using cached Erlang 21.0 -----> Instal

当我尝试使用gigalixir部署时,我遇到了这个错误。我不知道为什么使用长生不老药这么难

-----> Checking Erlang and Elixir versions
       Will use the following versions:
       * Stack cedar-14
       * Erlang 21.0
remote:  Elixir 1.9.1
-----> Using cached Erlang 21.0
-----> Installing Erlang 21.0

remote: -otp-21.zip
remote:  for generic OTP version
remote: Command '[u'docker', u'run', u'--memory-reservation=512m', u'--rm', u'-e', 
u'GIGALIXIR_SHOULD_CLEAN_CACHE=False', u'-v', u'/tmp/tmppIn5TT/sizzling-embarrassed-hound:/tmp/app', u'-v', 
u'/tmp/gigalixir/cache/sizzling-embarrassed-hound/:/tmp/cache', u'-v', 
u'/tmp/tmppIn5TT/env:/tmp/env', u'--env=USER=www-data', u'us.gcr.io/gigalixir-152404/herokuish:latest']' 
returned non-zero exit status 1
To https://git.gigalixir.com/sizzling-embarrassed-hound.git/
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.gigalixir.com/sizzling-embarrassed-hound.git/'

知道发生了什么吗?错误日志非常糟糕…

我在推送到
gigalixir
时遇到了类似的问题,因为
gigalixir login
命令没有保存推送到我的
~/.netrc
所需的凭据。确保您的
~/.netrc
包含以下内容:

machine api.gigalixir.com
    login your@email.com
    password some_random_password
machine git.gigalixir.com
    login your@email.com
    password some_password

如果您的
.netrc
文件不包含此信息,请再次运行
gigalixir登录
,并在它询问您是否将凭据保存到
.netrc
时按
Y
。这为我解决了问题。

我在推送到
gigalixir
时遇到了类似的问题,因为
gigalixir登录
命令没有保存推送到我的
~/.netrc
所需的凭据。确保您的
~/.netrc
包含以下内容:

machine api.gigalixir.com
    login your@email.com
    password some_random_password
machine git.gigalixir.com
    login your@email.com
    password some_password

如果您的
.netrc
文件不包含此信息,请再次运行
gigalixir登录
,并在它询问您是否将凭据保存到
.netrc
时按
Y
。这为我解决了问题。

您是否使用
Mix
蒸馏器
Elixir Release
部署方法?我使用蒸馏器您可以尝试清除构建缓存吗?您的elixir_buildpack.config中还有什么?看到了吗?你有没有让它工作过?是长生不老药吗?不幸的是不是。我刚刚放弃了你是使用
Mix
Distillery
还是
Elixir Release
部署方法?我在使用Distillery你能尝试清除构建缓存吗?您的elixir_buildpack.config中还有什么?看到了吗?你有没有让它工作过?是长生不老药吗?不幸的是不是。我刚放弃了我检查了.netrc文件,一切正常我检查了.netrc文件,一切正常