mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 07:21:59 +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:
parent
05c3945097
commit
f74e5e9a11
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user