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).
This commit is contained in:
@@ -29,7 +29,8 @@ fi
|
|||||||
# --- Install dependencies ---
|
# --- Install dependencies ---
|
||||||
|
|
||||||
echo "==> Installing 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
|
if ! command -v bw &>/dev/null; then
|
||||||
echo "==> Installing Bitwarden CLI..."
|
echo "==> Installing Bitwarden CLI..."
|
||||||
|
|||||||
Reference in New Issue
Block a user