Update build-wrapper.sh
This commit is contained in:
parent
1d13d48cb7
commit
4f1d12a24d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue