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

Running vitest with --bun flag hangs "bun run --bun vitest"❌ "bun run vitest" ✅ #10180

Closed
cpakken opened this issue Apr 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cpakken
Copy link

cpakken commented Apr 11, 2024

What version of Bun is running?

1.1.3+2615dc742

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64
EDIT: also tested in WSL same behavior

What steps can reproduce the bug?

Use minimal reproduction
https://github.com/cpakken/vitest-issue

image

Also windows firewall for bun pops up while running with --bun command. Does not work even when allowed.

What is the expected behavior?

Should work

What do you see instead?

Hangs when vitest is run with --bun

@cpakken cpakken added the bug Something isn't working label Apr 11, 2024
@cpakken cpakken changed the title Running vitest with --bun flag hangs on windows "bun run --bun vitest"❌ Running vitest with --bun flag hangs on windows "bun run --bun vitest"❌ "bun run vitest" ✅ Apr 11, 2024
@cpakken
Copy link
Author

cpakken commented Apr 11, 2024

Confirmed same behavior in WSL

bun create github.com/cpakken/vitest-issue
cd vitest-issue
bun run vitest #works
bun run -b vitest #hangs

image

> bun --revision
1.1.3+2615dc742
> uname -mprs
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64

@cpakken cpakken changed the title Running vitest with --bun flag hangs on windows "bun run --bun vitest"❌ "bun run vitest" ✅ Running vitest with --bun flag hangs "bun run --bun vitest"❌ "bun run vitest" ✅ Apr 11, 2024
@birkskyum
Copy link
Collaborator

Duplicate of

@birkskyum birkskyum closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 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
Projects
None yet
Development

No branches or pull requests

2 participants