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

bolt.new cannot open the private Github repository: no access to the repository #95

Open
1WorldCapture opened this issue Oct 6, 2024 · 22 comments

Comments

@1WorldCapture
Copy link

Describe the bug

A Github private repository opened in stackblitz cannot be opened and loaded with bolt.new. When loading this repository using bolt.new, bolt.new reports an error as follows: image

Link to the Bolt URL that caused the error

https://bolt.new/~/github.com/1WorldCapture/ship-fast-ts-supabase

Steps to reproduce

  1. open the Github private repository in Stackblitz;
  2. get the project ID via browser url, e.g. https://stackblitz.com/~/github.com/1WorldCapture/ship-fast-ts-supabase?file=config.ts, the project ID is /github.com/1WorldCapture/ship-fast-ts-supabase;
  3. Construct the bolt.new address (https://bolt.new/~/ and open it with your browser;
  4. bolt.new initializes and imports with the error "You don't have access to the repository"

Expected behavior

Expect bolt.new to load private repository projects in stackblitz correctly, and to be able to modify the project code through bolt.new's dialogs properly

Screen Recording / Screenshot

No response

Platform

  • OS: Windows
  • Browser: Chrome
  • Version: 129.0.6668.90

Additional context

No response

@tiagoefreitas
Copy link

I also need this to edit my existing projects or to start from a template

@1WorldCapture
Copy link
Author

I also need this to edit my existing projects or to start from a template

Agree. If we need to build something real, it must start from some base (existing project or own project template), not blank template......

@kirjavascript
Copy link
Member

Hi! 👋 Thanks a lot for the report!

We're tracking this issue internally and will let you know when we have a resolution.

@danielpox
Copy link

danielpox commented Oct 7, 2024

I created a project using Bolt, and then I opened it in Stackblitz and from there I created a Github repository. I made it private, and I can make changes in the Stackblitz editor, but the connection to Bolt is lost. And as mentioned in this issue, if I try to open the repo in Bolt using the correct link structure, I get the import failed message.

Also I thought upgrading to the paid Pro plan would solve the issue, but those $9 did not help. 😅

@1WorldCapture
Copy link
Author

Hi! 👋 Thanks a lot for the report!

We're tracking this issue internally and will let you know when we have a resolution.

Glad to hear this issue is on track, and pls. help speed this problem solving up, it's really important for bolt.new to be production tool

@lipecss
Copy link

lipecss commented Oct 11, 2024

I created a project using Bolt, and then I opened it in Stackblitz and from there I created a Github repository. I made it private, and I can make changes in the Stackblitz editor, but the connection to Bolt is lost. And as mentioned in this issue, if I try to open the repo in Bolt using the correct link structure, I get the import failed message.

Also I thought upgrading to the paid Pro plan would solve the issue, but those $9 did not help. 😅

I also noticed this problem

@136sergio
Copy link

Bolt is still not able to open private github repositories, you must change your repository to public and it will open-

@Jonkitonki
Copy link

Did anyone archieve some progress on this issue? It would be great to keep some projects on private in github :-)

@Veeeetzzzz
Copy link

Did anyone archieve some progress on this issue? It would be great to keep some projects on private in github :-)

image

Yeah +1 - I can use public repos and I'd happily upgrade to a Teams plan if I was working with organisational information that needs to stay private. Right now I'm just making the repos I need to import into Bolt.new public and then reverting or creating a public fork to work off.

Will be so good when this is implemented.

@caingillis
Copy link

I upgraded to a Teams plan, this issue still persists even with a Teams plan. Agreed, once this issue is resolved Bolt will be unstoppable!

@kc0tlh kc0tlh removed the tracked label Nov 25, 2024
@Nic-Tai
Copy link

Nic-Tai commented Nov 27, 2024

i still face this issue. may i know what's the solution?

@iampawan
Copy link

Is there any workaround for this problem for now? @kirjavascript

@kirjavascript
Copy link
Member

Is there any workaround for this problem for now? @kirjavascript

I'm afraid the only workaround for now is copying the bits you need for bolt into a public repo.

@Greyvend
Copy link

@kirjavascript any ETA on when this might be fixed?

@codetesta2z
Copy link

This is really defeating the overall purpose of using bolt. Can we expedite it please.

@fvrlak
Copy link

fvrlak commented Jan 4, 2025

It has been almost two months, and the issue still hasn't been solved.

I don't understand the thinking of bolt.new team. Do they really think that importing private repo from github is not essential?

What am I supposed to do with the project after being developed? Put it as public and then copy a link and make it private again?

It is such an important thing even essential thing to have an option to get repo imported back to bolt, that now currently I am not even using the app simply because there is no point in creating any new application.

If it is for some reason not possible to make it via github, then at least it could be possible to upload the folder from pc.

@jannikMetzner
Copy link

It has been almost two months, and the issue still hasn't been solved.

I don't understand the thinking of bolt.new team. Do they really think that importing private repo from github is not essential?

What am I supposed to do with the project after being developed? Put it as public and then copy a link and make it private again?

It is such an important thing even essential thing to have an option to get repo imported back to bolt, that now currently I am not even using the app simply because there is no point in creating any new application.

If it is for some reason not possible to make it via github, then at least it could be possible to upload the folder from pc.

same here, have to stop using bolt.new, because I can't sustain my dev process without tracking changes in git

@Tyberious
Copy link

Not sure why this wasn't and still isn't implemented out of the gate, not having it defeats the majority of its purpose.

@yashcrest
Copy link

You could you use the bolt to github extension in chrome and follow this tutorial
https://www.youtube.com/watch?v=d9NqXRoroi0

@Greyvend
Copy link

You could you use the bolt to github extension in chrome and follow this tutorial youtube.com/watch?v=d9NqXRoroi0

It temporarily creates a public copy of your private repo, which is not secure. It's possible just to make your private repo public, then import, then switch it back, but that's an unacceptable workaround for many.

Besides, there needs to be a way to sync changes between the GitHub repo and the Bolt project continuously.

@eksno
Copy link

eksno commented Feb 26, 2025

Big issue for me too. Got a team plan for this purpose just to realize it doesn't support private repositories...

@avelops
Copy link

avelops commented Mar 15, 2025

Any news on this issue?

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

No branches or pull requests