-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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.spawn[Sync]()
not working (on WSL)
#1620
Comments
I think this is a Linux kernel version issue. Bun uses features from Linux kernel 5.3 or so (pidfd) You can upgrade to a later Linux kernel via Windows Update |
Looks like I can't change/upgrade the Linux kernel on WSL v1 😅 Will test out WSL v2 and report back. |
Happen with |
The Linux kernel must be >= 5.13 or so due to using pidfd https://man7.org/linux/man-pages/man2/pidfd_open.2.html |
I have the same issue with 4.15.0-200-generic so kernel upgrade needed. Just not fun on production server. |
Apparently Vercel uses a similar runtime, seeing:
|
Yes, I get the following when running
|
Duplicate of #5803 |
What version of Bun is running?
0.3.0 / 0.3.1
--canary
What platform is your computer?
Linux 4.4.0-17763-Microsoft x86_64 x86_64
What steps can reproduce the bug?
What is the expected behavior?
What do you see instead?
Additional information
Also tried
Bun.spawn()
and various examples under README.md to no avail.The text was updated successfully, but these errors were encountered: