1.4 KiB
1.4 KiB
โก Quick Fix Guide
Issue: You're in the wrong directory
The startup scripts are in the root directory, not the frontend directory.
โ Solution: Run from Root
# Go to root directory
cd /Users/arhansubasi/immortal-bnb-1
# Then run the startup script
./start-all.sh
๐ง What I Fixed
- Frontend package.json: Changed
startto usenext dev(development mode) instead ofnext start(production mode) - Startup script: Fixed to use
bun run devproperly - Scripts location: Both
start-all.shandstart-all-node.share in the root directory
๐ Correct Usage
From Root Directory:
cd /Users/arhansubasi/immortal-bnb-1
./start-all.sh # Uses Bun (may have ethers v6 issue)
./start-all-node.sh # Uses Node.js (recommended)
Or use npm/bun scripts:
cd /Users/arhansubasi/immortal-bnb-1
bun start # Runs start-all.sh
Manual Start (if scripts don't work):
# Terminal 1: Backend
cd /Users/arhansubasi/immortal-bnb-1
bun run src/index.ts
# Terminal 2: Frontend
cd /Users/arhansubasi/immortal-bnb-1/frontend
bun run dev
๐ฏ Current Status
- โ Scripts fixed and in root directory
- โ Frontend now uses dev mode (no build needed)
- โ Services starting from root directory
๐ Access Points
Once running:
- Frontend: http://localhost:3000
- Backend: http://localhost:3001
- Health: http://localhost:3001/health