☁️ CloudVault
FINAL Working Package - Node 20 Compatible
✅ Node 20 Compatible!
Fixed: Uses --import tsx instead of deprecated --loader tsx
Tested with: Node.js v20.19.6 (your version!)
⚠️ Clean Up Old Installation First!
Remove the old package before installing this one:
cd ~
rm -rf cloudvault-working-*
rm cloudvault-*.tar.gz
🚀 One-Line Installation
SSH to your Ubuntu server (192.168.1.19) and run:
wget http://vm6tgfyizy.preview.c24.airoapp.ai/assets/cloudvault-final-20260212_184451.tar.gz && tar -xzf cloudvault-final-20260212_184451.tar.gz && cd cloudvault-final-20260212_184451 && bash install.sh
📋 What's Fixed
- ✅ Node 20 compatible - Uses
--import tsx (not --loader)
- ✅ Complete package.json with proper start script
- ✅ All dependencies included (express, mysql2, drizzle-orm, tsx, etc.)
- ✅ Pre-generated SQL migrations (no drizzle-kit needed)
- ✅ Interactive installer (5-step setup)
🎯 After Installation
Start the server:
npm start
You should see:
╔════════════════════════════════════════════════════════════╗
║ CloudVault Backup Server ║
╚════════════════════════════════════════════════════════════╝
🌐 Server running at: http://0.0.0.0:5173
📍 Health check endpoint: http://0.0.0.0:5173/api/health
Test from your server:
curl http://localhost:5173/api/health
Test from your network:
curl http://192.168.1.19:5173/api/health
Expected response:
{"status":"ok","timestamp":"2026-02-12T..."}
🔧 Technical Details
Start script changed from:
"start": "node --loader tsx src/server/index.ts" ❌ Deprecated in Node 20
To:
"start": "node --import tsx src/server/preview-server.ts" ✅ Node 20 compatible
📱 Mobile App Configuration
Configure your mobile app with:
- Server URL:
http://192.168.1.19:5173
- API Base:
/api
Installation takes 2-3 minutes
Requires: Node.js 18.19+ or Node.js 20+ • MySQL 8.0+ • Ubuntu/Linux