This commit is contained in:
CanbiZ
2025-10-18 12:18:04 +02:00
parent 55d0596b53
commit e83360d2af
2 changed files with 6 additions and 8 deletions

View File

@@ -116,10 +116,10 @@ msg_ok "Set up Environment"
msg_info "Building Frontend"
cd ./frontend
export NODE_OPTIONS="--openssl-legacy-provider"
rm -f yarn.lock
$STD yarn remove node-sass 2>/dev/null || true
$STD yarn add -D sass
# First install to generate yarn.lock, then swap node-sass for sass
$STD yarn install --network-timeout 600000
$STD yarn remove node-sass
$STD yarn add -D sass
$STD yarn build
cp -r dist/* /app/frontend
cp -r app-images/* /app/frontend/images