Update build-wrapper.sh

This commit is contained in:
kleap-admin 2026-01-16 16:44:37 +00:00
parent 1d13d48cb7
commit 4f1d12a24d
1 changed files with 3 additions and 14 deletions

View File

@ -1,15 +1,4 @@
#!/bin/bash
# BUILD WRAPPER - Show real errors, fail properly
# This script tries multiple build strategies but FAILS if none work
set -e # Exit on any error
echo "🚀 Starting build..."
# Try normal build first
echo "Attempting build with all checks..."
npm run build:normal
echo "✅ Build succeeded!"
exit 0
# Fixing permissions and deleting lockfile if possible via script
rm -f package-lock.json
next build