[FIXED] GitHub clone failure

I successfully created a GitHub repo from an Anvil app, but failed to clone from GitHub to anvil. I tried several of my public repos and getting variations of this error:

Could not create app: {:anvil/app-loading-error “TBGRK3OI3YNK27DB”, :message “App version not found. The environment for this URL may be invalid.”}

@yahiakalabs That’s odd! Can you drop us a line with a link to the GitHub repository, so we can work out what’s going wrong?

(Just a thought: Was the repo you were trying to clone an Anvil app, or was it something else?)

I’ll just put these here since others might be trying the same thing. They are forks of anvil-labs and anvil-extras:

Possibly a lack of master branch. We use main on both of those repos.

1 Like

You’re dead on, @owen.campbell – fix now deployed!

Unfortunately, we’re currently tied to using master as our primary branch, so the workaround is to create a synthetic master branch on clone (it won’t be pushed back if you don’t touch it!). But at least you can edit the repos now :slight_smile:

(Yes, we do intend to remove the exact-name dependency on "master" branch, but there are many direct references to that name in infrastructure supporting the Classic Editor – which means that this would requires non-trivial changes to legacy code that’s due for retirement in the forseeable future. That makes it a rather unappealing use of resources!)

2 Likes