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

bun install crashes with attempt to unwrap error #9835

Open
ShadyShenAli opened this issue Apr 2, 2024 · 4 comments
Open

bun install crashes with attempt to unwrap error #9835

ShadyShenAli opened this issue Apr 2, 2024 · 4 comments
Labels
bug Something isn't working crash An issue that could cause a crash windows An issue that only occurs on Windows

Comments

@ShadyShenAli
Copy link

What version of Bun is running?

1.1.0+5903a6141

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

in powershell or in cmd, execute

  • bun repl
  • bun run a.js
  • bun install
    will result in crashes.

What is the expected behavior?

not crash

What do you see instead?

crash like

uh-oh: attempt to unwrap error
bun will crash now 😭😭😭

----- bun meta -----
Bun v1.1.0 (5903a614) Windows x64 (baseline)
BunxCommand:
Elapsed: 7ms | User: 15ms | Sys: 15ms
RSS: 19.47MB | Peak: 19.47MB | Commit: 62.13MB | Faults: 4880
----- bun meta -----

0   00007FF7211A8158
1   ???
2   ???
3   ???
4   ???
5   ???
6   ???
7   ???
8   ???
9   ???
10  ???
11  ???
12  ???
13  ???
14  ???

Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord

thread 15344 panic: attempt to unwrap error
???:?:?: 0x7ff71fb7922c in ??? (bun.exe)
???:?:?: 0x7ff720069406 in ??? (bun.exe)
???:?:?: 0x7ff71fe6d7f3 in ??? (bun.exe)
???:?:?: 0x7ff71fb8b5ca in ??? (bun.exe)
???:?:?: 0x7ff71fb892cb in ??? (bun.exe)
???:?:?: 0x7ff71fb8479f in ??? (bun.exe)
???:?:?: 0x7ff71fd1242a in ??? (bun.exe)
???:?:?: 0x7ff71fd75ed8 in ??? (bun.exe)
???:?:?: 0x7ff71fe0485f in ??? (bun.exe)
???:?:?: 0x7ff71fb415fe in ??? (bun.exe)
???:?:?: 0x7ff72265f2d3 in ??? (bun.exe)
???:?:?: 0x7fff76f3257c in ??? (KERNEL32.DLL)
???:?:?: 0x7fff7774aa57 in ??? (ntdll.dll)

Additional information

No response

@ShadyShenAli ShadyShenAli added the bug Something isn't working label Apr 2, 2024
@virtualabishek
Copy link

Same on mine too.

@robobun robobun added crash An issue that could cause a crash windows An issue that only occurs on Windows labels Apr 2, 2024
@nicosql
Copy link

nicosql commented Apr 4, 2024

same

@Moe03
Copy link

Moe03 commented Apr 19, 2024

same +1 running a websocket server and randomly crashing

@Jarred-Sumner Jarred-Sumner changed the title bun crashes in windows bun install crashes with attempt to unwrap error May 12, 2024
@robobun robobun changed the title bun install crashes with attempt to unwrap error bun install crashes with attempt to unwrap error May 12, 2024
@Jarred-Sumner
Copy link
Collaborator

@ShadyShenAli can you try again in bun v1.1.8?

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 only occurs on Windows
Projects
None yet
Development

No branches or pull requests

6 participants