@echo off REM Set base directory set "base_dir=%~dp0\..\.." :remove_node_modules echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Removing node_modules folder... cd /d "%st_install_path%" 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 )