mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-05 02:42:50 +00:00
readd npm latest update
This commit is contained in:
@@ -64,6 +64,11 @@ function setup_nodejs() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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}"
|
msg_ok "Setup Node.js ${NODE_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user