Update NODE_OPTIONS for frontend build

This commit is contained in:
Tobias 2025-11-05 08:53:30 +01:00 committed by GitHub
parent e4e20bc959
commit 732eb55a51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,7 +111,7 @@ cp -r /opt/nginxproxymanager/backend/* /app
msg_ok "Set up Environment" msg_ok "Set up Environment"
msg_info "Building Frontend" msg_info "Building Frontend"
export NODE_OPTIONS=--openssl-legacy-provider export NODE_OPTIONS="--max_old_space_size=1024 --openssl-legacy-provider"
cd /opt/nginxproxymanager/frontend cd /opt/nginxproxymanager/frontend
# Replace node-sass with sass in package.json before installation # Replace node-sass with sass in package.json before installation
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json