Spaces:
Sleeping
Sleeping
| 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 |