Open your browser and go to: http://localhost:3000
If you see "This site can't be reached":
- The server isn't running
- Try the solutions below
Option A: Use the Batch File (Easiest)
- Double-click
start.batin the project folder - Wait for the browser to open automatically
Option B: Use Command Line
- Open PowerShell or Command Prompt in this folder
- Run:
npm run dev - Look for:
Local: http://localhost:3000 - Open that URL in your browser
Option C: Use VS Code
- Open this folder in VS Code
- Press
Ctrl +` (backtick) to open terminal - Type:
npm run dev - Click the localhost link that appears
If you see "Port 3000 is already in use":
Solution 1: Use a Different Port
- Edit
vite.config.ts - Change
port: 3000toport: 3001(or any other port) - Restart the server
Solution 2: Kill the Process Using Port 3000
# Find the process
netstat -ano | findstr :3000
# Kill it (replace PID with the number from above)
taskkill /PID <PID> /FIf you see errors about missing modules:
npm installCheck for compilation errors:
npm run buildIf there are errors, they'll be shown. Fix them and try again.
Sometimes cached files cause issues:
# Delete node_modules and reinstall
rm -r node_modules
npm install
npm run devOr on Windows:
Remove-Item -Recurse -Force node_modules
npm install
npm run dev→ Run npm install
→ Change port in vite.config.ts or kill the process using port 3000
→ Node.js is not installed. Install from https://nodejs.org/
→ Node.js is not installed correctly. Reinstall Node.js.
→ Check browser console (F12) for errors → Make sure the server is actually running → Try hard refresh (Ctrl+F5)
-
Check Node.js Version
node --version
Should be v16 or higher
-
Check npm Version
npm --version
-
Verify Files Exist
- Make sure
src/main.tsxexists - Make sure
index.htmlexists - Make sure
package.jsonexists
- Make sure
-
Try Alternative Port
- Edit
vite.config.ts - Change port to 5173 (Vite default)
- Access at http://localhost:5173
- Edit
Run this to verify everything is set up:
node --version
npm --version
npm list --depth=0All should complete without errors.