Update build-wrapper.sh
This commit is contained in:
parent
1d13d48cb7
commit
4f1d12a24d
|
|
@ -1,15 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Fixing permissions and deleting lockfile if possible via script
|
||||||
# BUILD WRAPPER - Show real errors, fail properly
|
rm -f package-lock.json
|
||||||
# This script tries multiple build strategies but FAILS if none work
|
next build
|
||||||
|
|
||||||
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
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue