@echo off :remove_node_modules cd /d "%st_install_path%" echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Removing node_modules folder... rmdir /s /q "node_modules" del package-lock.json call npm cache clean --force echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% node_modules successfully removed. pause if "%caller%"=="home" ( exit /b 1 ) else ( exit /b 0 )