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

CRITICAL ISSUE: Clone a Git Repo doesn't work #903

Open
fahadpatel-nc opened this issue Dec 26, 2024 · 10 comments
Open

CRITICAL ISSUE: Clone a Git Repo doesn't work #903

fahadpatel-nc opened this issue Dec 26, 2024 · 10 comments

Comments

@fahadpatel-nc
Copy link

Describe the bug

When I click on the "Clone a Git Repo" option in the Bolt DIY local instance running on my Mac, nothing happens. The screen remains unresponsive, and no files are loaded into the workbench. Previously this feature used to work, loading all files to workbench. Someone please help me fix this issue, it is very critical for me to have this feature.

Link to the Bolt URL that caused the error

http://localhost:5173

Steps to reproduce

Setup and start bolt locally
Click on Clone a Git Repo
Wait for the files to load in the workbench
Nothing happening on frontend as if the screen is stuck

Expected behavior

Load the Github repo to workbench, ask to do changes in any files and it should work as expected.

Screen Recording / Screenshot

Screenshot 2024-12-26 at 12 18 23 PM

Platform

OS: macOS, Windows
Browser: Chrome, Safari
Version: latest pull as of 26th Dec 2024

Provider Used

Anthropic

Model Used

Claude 3.5 Sonnet

Additional context

No response

@fahadpatel-nc
Copy link
Author

@wonderwhy-er @thecodacus Please help out here, This is really important.

@thecodacus
Copy link
Collaborator

thecodacus commented Dec 27, 2024

is it a private repo?
if yes have you specified the git access token in the setting tab?
what is the repo url?
are you using the ".git" url ?

@fahadpatel-nc
Copy link
Author

@thecodacus I tried with both a public and a private repository (with my PAT set in the settings), but I'm encountering the same issue on both. I also tried using both the '.git' URL and the direct web URL, but neither worked.

@wonderwhy-er
Copy link
Collaborator

I just tested and on main import does not work indeed for me
Was importing my repo
https://github.com/wonderwhy-er/frontend-openai-testing
In UI nothing happens, we need to add some kind of loading/failure indicator, will investigate a bit

@wonderwhy-er
Copy link
Collaborator

One more weird thing that is happening is this locally for me
image

@wonderwhy-er
Copy link
Collaborator

Ok interesting
in db.ts
indexedDB.open('boltHistory', 1); fails

because I have version 2

May be some PR caused that...

@wonderwhy-er
Copy link
Collaborator

I deleted local indexdb and that made import work again

So I now wonder what caused index db to go to version 2

@wonderwhy-er
Copy link
Collaborator

You need to go to developer tools -> application -> indexdb -> boltHistry
In there you should see version like on screenshot
image

If its not 1 then it is broken like for me, I just deleted database and it works now
Export chats you care about though

@wonderwhy-er
Copy link
Collaborator

Found another issue, this
image

It seems that isomorphic git we are using using cors proxy
Could be that we are hitting some kind of rate limits

@galaridor
Copy link

i was thinking the same. It sure is possible

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

4 participants