mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-04 13:07:38 +00:00
Update nginxproxymanager.sh
Maintain compatibility with older versions of Node.js fixes https://github.com/tteck/Proxmox/issues/2733
This commit is contained in:
@ -61,6 +61,7 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
if ! command -v pnpm &> /dev/null; then
|
if ! command -v pnpm &> /dev/null; then
|
||||||
msg_info "Installing pnpm"
|
msg_info "Installing pnpm"
|
||||||
|
export NODE_OPTIONS=--openssl-legacy-provider
|
||||||
npm install -g pnpm@8.15 &>/dev/null
|
npm install -g pnpm@8.15 &>/dev/null
|
||||||
msg_ok "Installed pnpm"
|
msg_ok "Installed pnpm"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user