Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create a github repo from a stackblitz project #3121

Open
jdwd40 opened this issue Oct 9, 2024 · 1 comment
Open

Failed to create a github repo from a stackblitz project #3121

jdwd40 opened this issue Oct 9, 2024 · 1 comment

Comments

@jdwd40
Copy link

jdwd40 commented Oct 9, 2024

Failed to create a github repo from a stackblitz project.

When i click on the 'create a repository' button ... I get a dialogue box asking my to confirm creating a github repo ... when I confirm, then an error message 'Cannot find main'

When I look on github I find the reop has been created but it's empty.

@codewithtyler
Copy link

I'm running into this too. From my testing it seems that this happens because when the repo is created no files are push to GitHub. Because no files are pushed to the repo GitHub seems to not recognize that it even has a main branch. Once a file is pushed to the repo GitHub updates and says yeah I have a main branch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants