Update nginxproxymanager.sh

Maintain compatibility with older versions of Node.js
fixes https://github.com/tteck/Proxmox/issues/2733
This commit is contained in:
tteckster 2024-04-05 05:07:46 -04:00 committed by GitHub
parent 05c3945097
commit f74e5e9a11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,6 +61,7 @@ function update_script() {
fi
if ! command -v pnpm &> /dev/null; then
msg_info "Installing pnpm"
export NODE_OPTIONS=--openssl-legacy-provider
npm install -g pnpm@8.15 &>/dev/null
msg_ok "Installed pnpm"
fi