From c2b5747718247bafc23593e41eba4bdcda9e42a6 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 26 Jun 2025 20:49:17 +0200 Subject: [PATCH] readd npm latest update --- misc/tools.func | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/tools.func b/misc/tools.func index 078df4bd0..03f9102c8 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -64,6 +64,11 @@ function setup_nodejs() { exit 1 fi + # Update to latest npm + $STD npm install -g npm@latest || { + msg_error "Failed to update npm to latest version" + exit 1 + } msg_ok "Setup Node.js ${NODE_VERSION}" fi