I want to build an app from a Github repo that references private git submodules but it doesn’t seem to work.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

If you attempt to reference private git submodules that are not accessible via the authenticated Github account you have connected, builds will fail.
You must have your private git submodules stored in the Github account you have authorized App Platform to use.

UPDATE: THIS STOPPED WORKING, seems like there is a bug on Digital Ocean side

I had the same issue, my package.json was:

    "feathers-mongodb": "https://github.com/mategvo/feathers-mongodb.git",

You need to change it to

    "feathers-mongodb": "github:mategvo/feathers-mongodb",

Hi everyone,

I finally made this work by simply creating a github personal access token for heroku and adding the ENV variable GO_GIT_CRED__HTTPS__GITHUB__COM

as described here:

Hope this helps,