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

repl freezes after running alert() or confirm() #7590

Open
telecter opened this issue Dec 12, 2023 · 1 comment
Open

repl freezes after running alert() or confirm() #7590

telecter opened this issue Dec 12, 2023 · 1 comment
Labels
bug Something isn't working confirmed bug We can reproduce this issue repl An issue with `bun repl`

Comments

@telecter
Copy link

What version of Bun is running?

1.0.16+800fb1290

What platform is your computer?

Darwin 23.2.0 arm64 arm

What steps can reproduce the bug?

When trying to read user input or display an alert, the repl freezes. This only occurs in the Bun repl and not when reading from a JS file.

$ bun repl
Welcome to Bun v1.0.16

> alert("hello, world!")
Hello world! [Enter]

*repl freezes*

What is the expected behavior?

The alert or confirmation is displayed, and when enter is pressed, returns back to the repl prompt.

What do you see instead?

The repl becomes unresponsive and the process or terminal has to be ended.

Additional information

This only occurs on the repl, and only with alert() or confirm(), not prompt().

@telecter telecter added the bug Something isn't working label Dec 12, 2023
@thisislvca
Copy link

+1

@paperdave paperdave added the repl An issue with `bun repl` label Jun 17, 2024
@RiskyMH RiskyMH added the confirmed bug We can reproduce this issue label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed bug We can reproduce this issue repl An issue with `bun repl`
Projects
None yet
Development

No branches or pull requests

4 participants