Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/elixir/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
由于依赖于私有回购,无法在Heroku上部署Elixir应用程序_Heroku_Elixir_Semaphore Ci - Fatal编程技术网

由于依赖于私有回购,无法在Heroku上部署Elixir应用程序

由于依赖于私有回购,无法在Heroku上部署Elixir应用程序,heroku,elixir,semaphore-ci,Heroku,Elixir,Semaphore Ci,我正在使用heroku的,其中一个依赖项在使用mix deps.get时失败,因为它来自一个私有的Github存储库 当我尝试部署时,出现以下错误: remote: * Getting my_library (https://github.com/my_organization/my_library.git) remote: fatal: could not read Username for 'https://github.com': No such device or address rem

我正在使用heroku的,其中一个依赖项在使用
mix deps.get时失败,因为它来自一个私有的Github存储库

当我尝试部署时,出现以下错误:

remote: * Getting my_library (https://github.com/my_organization/my_library.git)
remote: fatal: could not read Username for 'https://github.com': No such device or address
remote: ** (Mix) Command "git --git-dir=.git fetch --force --quiet --progress" failed
remote:  !     Push rejected, failed to compile Elixir app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...

我尝试在Heroku的配置变量中添加
GITHUB\u API\u令牌
,但仍然出现相同的错误。

Elixir网页包不包含处理私有GITHUB依赖项的步骤。您可以包含此buildpack来相应地设置GitHub: