Skip to content

When I try to make an initial commit to an empty GitHub repository, I get an error #1705

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

Open
redlogicapps opened this issue May 14, 2025 · 2 comments

Comments

@redlogicapps
Copy link

Describe the bug

I am running Bolt 1.0.0, I have integrated GitHub through a fine grained token (although the other type of token gave me the same error), and when I try to push my project to an empty repository I get this error message. See the image

Link to the Bolt URL that caused the error

Bolt 1.0.0

Steps to reproduce

  1. Click on Sync & Export
  2. Click on Push to GitHub

Expected behavior

The push is successfull

Screen Recording / Screenshot

Image

Platform

Bolt DIY 1.0.0

Provider Used

No response

Model Used

Gemini 2.5 Pro, cursor test

Additional context

I get 2 errors, same description though:

Header-Cz95agqp.js:2608 Error pushing to GitHub: Error: prompt() is not supported.
    at onPush (Header-Cz95agqp.js:2608:5230)
    at O (Header-Cz95agqp.js:2603:251)
onPush @ Header-Cz95agqp.js:2608
O @ Header-Cz95agqp.js:2603
await in O
om @ components-BZZ5qraN.js:37
um @ components-BZZ5qraN.js:37
sm @ components-BZZ5qraN.js:37
tc @ components-BZZ5qraN.js:37
yd @ components-BZZ5qraN.js:37
(anonymous) @ components-BZZ5qraN.js:37
Hu @ components-BZZ5qraN.js:40
Bf @ components-BZZ5qraN.js:37
Io @ components-BZZ5qraN.js:37
vu @ components-BZZ5qraN.js:37
_m @ components-BZZ5qraN.js:37
Header-Cz95agqp.js:2603 Error pushing to GitHub: Error: prompt() is not supported.
    at onPush (Header-Cz95agqp.js:2608:5230)
    at O (Header-Cz95agqp.js:2603:251)
O @ Header-Cz95agqp.js:2603
await in O
om @ components-BZZ5qraN.js:37
um @ components-BZZ5qraN.js:37
sm @ components-BZZ5qraN.js:37
tc @ components-BZZ5qraN.js:37
yd @ components-BZZ5qraN.js:37
(anonymous) @ components-BZZ5qraN.js:37
Hu @ components-BZZ5qraN.js:40
Bf @ components-BZZ5qraN.js:37
Io @ components-BZZ5qraN.js:37
vu @ components-BZZ5qraN.js:37
_m @ components-BZZ5qraN.js:37
@xKevIsDev
Copy link
Collaborator

@Stijnus

@Stijnus
Copy link
Collaborator

Stijnus commented May 14, 2025

Will check it...

Stijnus added a commit to Stijnus/bolt.diy that referenced this issue May 14, 2025
… accessibility\n\nAlso fixes stackblitz-labs#1705 (initial commit to empty GitHub repo error) by ensuring dialog and commit logic are robust and consistent.
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

Successfully merging a pull request may close this issue.

3 participants