无法在" mix.exs"

时间:2017-04-24 10:41:23

标签: elixir phoenix-framework mix

直接来自github的依赖。它不是我的存储库。它在github上。

defp deps do
    [{:something123, git: "git@github.com:user123/something123.git"}

在localhost上运行良好。但是,在我部署它的服务器上,抛出异常:

* Updating something123 (git@github.com:user123/something123.git)
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed

有什么权利?同样,该存储库不是我的。

我部署的这个网站的代码也在github上,在某个人的存储库中。关于部署到目前为止,我从github添加了依赖性。

1 个答案:

答案 0 :(得分:2)

尝试更改为内置github语法:

 {:something123, github: "user123/something123"}