From 4fea2e7510f2ccc14e59da45f960d1341f29fa6b Mon Sep 17 00:00:00 2001 From: Timothy Kim Date: Fri, 13 Mar 2026 12:43:59 -0400 Subject: [PATCH] use nodejs:20 module stream instead of default nodejs 16 The default npm/nodejs on Rocky 9 is v16 which is too old for the Bitwarden CLI (WASM/getrandom crash). --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 6fd52b5..bdfc584 100644 --- a/setup.sh +++ b/setup.sh @@ -29,7 +29,8 @@ fi # --- Install dependencies --- echo "==> Installing dependencies..." -dnf install -y git-crypt npm +dnf install -y git-crypt +dnf module install -y nodejs:20/common if ! command -v bw &>/dev/null; then echo "==> Installing Bitwarden CLI..."