From b8b67bfc9f0b656bf0e24f569eb9eef76291b3b8 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Sat, 16 Jul 2022 13:40:53 +0200 Subject: [PATCH] tags: update io uring --- files/tags.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/tags.toml b/files/tags.toml index 9bf14cb..e1dee27 100644 --- a/files/tags.toml +++ b/files/tags.toml @@ -56,7 +56,7 @@ Bun does not currently have support for Windows, so you must use WSL (Windows Su To install WSL, check [microsoft documentation]() """ -[io-uring-not-supported] +[io-uring-is-not-supported] keywords = ["io-uring-is-not-supported", "io uring", "not supported", "support", "linux", "kernel", "update"] content = """ **error: Linux kernel version doesn't support io_uring, which Bun depends on** @@ -65,6 +65,9 @@ To fix this error, you need to update Linux kernel. If you are using the Windows Subsystem for Linux, do: **1.** Open powershell as administrator **2.** Run: + • wsl --set-version 2 + • If it throws `Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS.`, turn on Virtual Machine Platform in Windows Features and then rerun this command. + • PS: You can get distro name from `wsl --list -v` • wsl --update • wsl --shutdown