-
Notifications
You must be signed in to change notification settings - Fork 788
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
🐛 BUG: Error: write EPIPE
in WSL2 (Ubuntu 20.04.6 LTS)
#3262
Comments
Likely a duplicate of cloudflare/workerd#46 — I don’t think anyone has gotten the prebuilt binaries working on any Ubuntu before 22.04 |
while wrangler 2 worked perfectly, facing same issue in fedora 38 container after updating to wrangler 3. |
Hey there, reporting in with my experience. I tried wrangler@3 on the following distributions through WSL:
I made sure to install the workerd dependencies on each distribution prior to using Wrangler. Both Ubuntu 20.04 and Debian 11 encountered this error. However, Ubuntu 22.04 was able to run Wrangler fine. I guess it's time to switch from 20.04 to 22.04 for my local dev environment. |
Hey! 👋 Thanks for raising this. As pointed out earlier in the thread, the |
A number of us have been experiencing the same error and reported it in #2583. |
I don't think it's Debian/Ubuntu specific, getting the same error also with all dependencies installed on Arch Linux ( |
the same issue OSX 10.13.6 |
downgrading to 2.20.0 from 3.0 fixed it for me |
Is there any fix for arch users because updating to latest version of libc++ didn't work. |
same bro |
Hey everyone! 👋 Wanted to give an update on this issue. We've now got builds working with statically linked |
Hi! Just to mention that Github Codespaces got this bug too with 3.0.1, we need to fallback to 2.20.0 until the bugfix |
Closing in favour of #3457 |
Hey everyone! 👋 We've just released a new On Linux,
Ubuntu 18.04 (which is now end-of-life) and Debian 10 will not be supported. Please let us know if you encounter any issues. 🙂 |
I'm running WSL 2 Ubuntu 20.04.6 and following trying out the beta build I get this error:
my glibc version is 2.31 |
@Hoko2021 would you be able to open a separate issue for this and ping me on it? |
I can confirm that the beta version ( |
I confirm that with the same version specified by devmattrick ( |
Getting this again in December 2023 |
+1 getting this error again when adding D1 bindings to wrangler.toml. If I remove the D1 bindings, the error goes away.
|
@pvarsh could you share your full error logs? @timothyr are you using a service worker (i.e. |
Thanks, I migrated to ES modules and D1 bindings are working. It was really difficult to find examples of projects using ES module format, but after trial and error I got it to work. |
@mrbbot Not working in BunsenLabs GNU/Linux 10.5 (Lithium) |
Getting this exact issue while running tests with vitest on Mac OS 14.6.1
|
This started happening to me on wrangler |
Hi @vladinator1000, Are you using Ubuntu 20.04 by any chance? Unfortunately, 20.04 is end-of-life since September, and GitHub is removing it from the list of available runner images, which means we had to update our builds to use 22.04 instead. Hence, workerd no longer works on 20.04, I'm afraid. |
I am! In WSL though. Thanks @kentonv I guess I need to upgrade. |
Which Cloudflare product(s) does this pertain to?
Wrangler
What version of
Wrangler
are you using?3.0.0
What operating system are you using?
WSL2 (Ubuntu 20.04.6 LTS)
Describe the Bug
When running
npx wrangler dev
I get the following error:I saw a few posts saying this might be related to missing dependencies. I've installed
clang
,libc++-dev
,lld
andpython3
based on theworkerd
readme.Versions of apps:
clang -v
=Ubuntu clang version 11.0.0-2~ubuntu20.04.1
node -v
=Node.js v19.3.0
libc++-dev
=1:10.0-50~exp1
python3 --version
=3.8.10
python3-distutils
=3.8.10-0ubuntu1~20.04
The text was updated successfully, but these errors were encountered: