mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 18:05:54 +00:00
Update NODE_OPTIONS for frontend build
This commit is contained in:
@@ -111,7 +111,7 @@ cp -r /opt/nginxproxymanager/backend/* /app
|
||||
msg_ok "Set up Environment"
|
||||
|
||||
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
|
||||
# Replace node-sass with sass in package.json before installation
|
||||
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json
|
||||
|
||||
Reference in New Issue
Block a user