Knowledge Knolling
Spent all together too long over this error which resolved itself by me ensuring I had a full upgrade of my installed Ubuntu; using the do-release-upgrade tool in the shell.
$ npx wrangler pages dev .dist --compatibility-date=2025-04-08
⛅️ wrangler 4.9.1
------------------
No Functions. Shimming..
No bindings found.
✘ [ERROR] write EPIPE
If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
🪵 Logs were written to "/home/auser/.config/.wrangler/logs/wrangler-2025-04-10_08-28-44_574.log"
╭─────────────────────────────────────────────────────────────────────────╮
│ [b] open a browser, [d] open devtools, [c] clear console, [x] to exit │
╰─────────────────────────────────────────────────────────────────────────╯
$
Windows 11
>wsl --list
Windows Subsystem for Linux Distributions:
Ubuntu (Default)
docker-desktop
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
$ uname -a
Linux RH20220829001 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
sudo do-release-upgrade
# cd /etc/lsb-release
bash: cd: /etc/lsb-release: Not a directory
root@RH20220829001:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
# uname -a
Linux RH20220829001 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux