Spaces:
Sleeping
Sleeping
File size: 713 Bytes
0c591a7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/bash
echo "π Starting frontend dependency installation..."
echo "This may take several minutes depending on your network speed."
echo "π¦ Installing core dependencies..."
npm install --no-audit --no-fund
if [ $? -eq 0 ]; then
echo "β
Dependencies installed successfully!"
echo "π§ͺ Running syntax check..."
npx tsc --noEmit
if [ $? -eq 0 ]; then
echo "β
TypeScript compilation successful!"
echo "π Starting development server..."
npm run dev
else
echo "β TypeScript compilation failed. Please check for errors."
exit 1
fi
else
echo "β Dependency installation failed. Please try again."
exit 1
fi |