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

windows build does not run in wsl #10783

Closed
JorgeMeireles95 opened this issue May 3, 2024 · 3 comments
Closed

windows build does not run in wsl #10783

JorgeMeireles95 opened this issue May 3, 2024 · 3 comments
Labels
bug Something isn't working crash An issue that could cause a crash windows An issue that is known to occur on Windows

Comments

@JorgeMeireles95
Copy link

How can we reproduce the crash?

I downloaded a project and managed to install bun, but when I run it it shows this error, but when I used node it worked perfectly
The project I tried to run using bun: https://github.com/Miruro-no-kuon/Miruro
Node version is v16.20.2
Bun version is 1.1.6
Ubuntu information that I'm running on WSL:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy

Relevant log output

Bun v1.1.6 (e58d67b4) Windows x64 (baseline)
Args: "bun.exe", "run", "dev"
Elapsed: 2ms | User: 0ms | Sys: 15ms
RSS: 19.06MB | Peak: 19.07MB | Commit: 62.40MB | Faults: 4799

panic(main thread): Internal Assertion Failure: Invalid cache key "\\wsl.localhost\"
See Resolver.assertValidCacheKey for details.
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Stack Trace (bun.report)

Bun v1.1.6 (e58d67b) on windows x86_64_baseline [RunCommand]

panic: Internal Assertion Failure: Invalid cache key "\wsl.localhost"
See Resolver.assertValidCacheKey for details.

@JorgeMeireles95 JorgeMeireles95 added bug Something isn't working crash An issue that could cause a crash labels May 3, 2024
@paperdave paperdave added the windows An issue that is known to occur on Windows label May 3, 2024
@paperdave paperdave changed the title does not run in wsl windows build does not run in wsl May 3, 2024
@Jarred-Sumner
Copy link
Collaborator

Duplicate of #10281

@Jarred-Sumner Jarred-Sumner marked this as a duplicate of #10281 May 16, 2024
@Jarred-Sumner
Copy link
Collaborator

We will fix this, but please follow along in #10281

@Jarred-Sumner Jarred-Sumner closed this as not planned Won't fix, can't repro, duplicate, stale May 16, 2024
@Jarred-Sumner
Copy link
Collaborator

Fixed by @paperdave in #11155

This will be part of the Bun v1.1.9 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash An issue that could cause a crash windows An issue that is known to occur on Windows
Projects
None yet
Development

No branches or pull requests

3 participants