Django deploy to heroku: fatal: could not read Username for 'https://github.com': Нет такого устройства или адреса
Я развертываю веб-сайт Django на Heroku.
Проект сайта использует несколько автономных приложений Django, которые находятся в частных репозиториях Github.
Вот как выглядит мой файл requirements.txt для проекта моего сайта:
requirements.txt
asgiref==3.5.0
Babel==2.9.1
certifi==2021.10.8
charset-normalizer==2.0.12
coverage==6.4.1
dj-database-url==0.5.0
Django==3.2
django-appconf==1.0.5
django-crispy-forms==1.14.0
django-js-asset==2.0.0
gunicorn==20.1.0
idna==3.3
psycopg2-binary==2.9.3
python-decouple==3.6
pytz==2022.1
requests==2.27.1
six==1.16.0
sqlparse==0.4.2
urllib3==1.26.9
webencodings==0.5.1
whitenoise==6.0.0
django-app1 @ git+https://github.com/MyUserName/django-app1.git@main
django-app2 @ git+https://github.com/MyUserName/django-app2.git@main
#
#... truncated for brevity
Когда я запускаю git push heroku main
вот вывод консоли:
remote: -----> Installing pip 22.1.2, setuptools 60.10.0 and wheel 0.37.1
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Collecting django-app1@ git+https://github.com/MyUserName/django-app1.git@main
remote: Cloning https://github.com/MyUserName/django-app1.git (to revision main) to /tmp/pip-install-l1stp7n7/django-app1_3d3e9f55670d48a6bf618c93771a0885
remote: Running command git clone --filter=blob:none --quiet https://github.com/MyUserName/django-app1.git /tmp/pip-install-l1stp7n7/django-app1_3d3e9f55670d48a6bf618c93771a0885
remote: fatal: could not read Username for 'https://github.com': No such device or address
remote: error: subprocess-exited-with-error
remote:
Я настроил интеграцию GitHub во вкладке Deploy приложений в Heroku Dashboard - но я не могу понять, как добавить более одного приложения (т.е. репозитория).
Как мне устранить эту ошибку, чтобы я мог перейти на heroku?