Add nodejs check

This commit is contained in:
GH05TCREW
2025-05-16 12:25:18 -06:00
parent eb5d95b38d
commit 925b02bc36
2 changed files with 10 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ ASCII_TITLE = f"""
{Fore.WHITE}(| | '. (_/| .-. | \ | | | |.-._) \ | | || |`-'| | . '.' | .--' | | {Style.RESET_ALL}
{Fore.WHITE} | '--' | | | | | `' '-' '\ / | | (_' '--'\ | |\ \ | `---.| ,'. | {Style.RESET_ALL}
{Fore.WHITE} `------' `--' `--' `-----' `-----' `--' `-----' `--' '--' `------''--' '--' {Style.RESET_ALL}
{Fore.RED}====================== GHOSTCREW ======================{Style.RESET_ALL}
{Fore.WHITE}====================== GHOSTCREW ======================{Style.RESET_ALL}
"""
# Import Agent-related modules

View File

@@ -12,6 +12,15 @@ if errorlevel 1 (
exit /b 1
)
:: Check if Node.js is installed
node --version >nul 2>&1
if errorlevel 1 (
echo Node.js is not installed, please install Node.js first
echo Most MCP servers require Node.js to function properly
pause
exit /b 1
)
:: Check and install dependencies from requirements.txt
echo Installing dependencies from requirements.txt...
pip install -r requirements.txt