-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 throws 'index out of bounds' when installing packages on Windows #9796
Comments
Hi, could you attach your |
Quite unexpectedly, I reran |
I unfortunately can't reproduce the crash, neither using both files nor just the |
This happened the very first time I tried using bun to add a package to an existing package.json with a yarn.lock, but every time I try to reproduce it, I can't. It works fine now, even if I do |
It seems like this error comes up on the first try of bun install.. and never after that. |
not in my case, I'm getting this error every single time for // EDIT: this happens for both existing yarn project and for an empty (freshly initialised) project. |
Do you see the package name that was being installed when you got this error? Like I had |
no:
|
Yeah you're adding react. When I got this error, I was also running |
|
OS Name: Microsoft Windows 10 uh-oh: index out of bounds ----- bun meta ----- Hi, today I did a "bun install" too and I am getting the same issue, anyone found a solution or some workaround?? |
@CarlosMarioV is it happening consistently or did it only happen once? For me and most others I saw on this thread, it's a one time occurrence. |
During the morning this happened consistently after that I could download the libraries and I am not tested for today. |
Duplicate of #9932 |
What version of Bun is running?
1.1.0
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
What is the expected behavior?
It should install all the packages without any issue.
What do you see instead?
I got an error, saying index out of bounds.
Here's the error:
uh-oh: index out of bounds
bun will crash now 😭😭😭
----- bun meta -----
Bun v1.1.0 (5903a61) Windows x64
InstallCommand: extracted_packages(18) lockfile_migration_from_package_lock
HTTP: 256
Elapsed: 49793ms | User: 38890ms | Sys: 3015ms
RSS: 0.15GB | Peak: 0.15GB | Commit: 0.24GB | Faults: 45614
----- bun meta -----
0 00007FF7A89CA4C8
1 ???
2 ???
3 ???
4 ???
5 ???
6 ???
7 ???
8 ???
9 ???
10 ???
11 ???
Search GitHub issues https://bun.sh/issues or join in #windows channel in https://bun.sh/discord
thread 11476 panic: index out of bounds
???:?:?: 0x7ff7a771051a in ??? (bun.exe)
???:?:?: 0x7ff7a771123c in ??? (bun.exe)
???:?:?: 0x7ff7a758193b in ??? (bun.exe)
???:?:?: 0x7ff7a75785dd in ??? (bun.exe)
???:?:?: 0x7ff7a7572610 in ??? (bun.exe)
???:?:?: 0x7ff7a76254c2 in ??? (bun.exe)
???:?:?: 0x7ff7a7351603 in ??? (bun.exe)
???:?:?: 0x7ff7a9e87e33 in ??? (bun.exe)
???:?:?: 0x7fffe33d257c in ??? (KERNEL32.DLL)
???:?:?: 0x7fffe3f8aa57 in ??? (ntdll.dll)
Additional information
I just installed bun after watching the Bundows videos, and got this.
The text was updated successfully, but these errors were encountered: