我的回购使用Recurly-js的定制版本,并且我使用这些说明将其打包为子模块https://devcenter.heroku.com/articles/git-submodules。不过,我现在得到以下错误,当我尝试部署:Heroku推送被拒绝,子模块安装失败
----> Heroku receiving push
-----> Git submodules detected, installing
Submodule 'recurly-js' (/app/tmp/repo.git/recurly-js) registered for path 'recurly-js'
Initialized empty Git repository in /tmp/build_3iacvn8h2rnha/recurly-js/.git/
fatal: '/app/tmp/repo.git/recurly-js' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Clone of '/app/tmp/repo.git/recurly-js' into submodule path 'recurly-js' failed
! Heroku push rejected, Submodule install failed
感谢您关注此事。 –
Heroku现在似乎只接受https://变种的子模块。有关详细信息,请参阅https://devcenter.heroku.com/articles/git-submodules。 – jeffjv