From 925b02bc3659484e87feae2b95b5ee74a767a1d9 Mon Sep 17 00:00:00 2001 From: GH05TCREW Date: Fri, 16 May 2025 12:25:18 -0600 Subject: [PATCH] Add nodejs check --- main.py | 2 +- start.bat | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 78dfe46..81d3e33 100644 --- a/main.py +++ b/main.py @@ -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 diff --git a/start.bat b/start.bat index 40648dd..4d4de2d 100644 --- a/start.bat +++ b/start.bat @@ -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