-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix_deps.bat
More file actions
29 lines (26 loc) · 814 Bytes
/
fix_deps.bat
File metadata and controls
29 lines (26 loc) · 814 Bytes
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
28
29
@echo off
echo ==========================================
echo FIXING DEPENDENCIES... PLEASE WAIT
echo ==========================================
echo [1/2] Installing Backend Dependencies (razorpay)...
cd backend
call npm install razorpay
if %errorlevel% neq 0 (
echo FAILED to install Razorpay. Please check your internet connection.
pause
exit /b %errorlevel%
)
echo Backend dependencies fixed.
echo [2/2] Installing Frontend Dependencies (socket.io-client)...
cd ../Frontend
call npm install socket.io-client
if %errorlevel% neq 0 (
echo FAILED to install socket.io-client.
pause
exit /b %errorlevel%
)
echo Frontend dependencies fixed.
echo ==========================================
echo SUCCESS! You can now run "npm run dev"
echo ==========================================
pause