From fe417afbe25571e6a9e6071ece0b46394279b947 Mon Sep 17 00:00:00 2001 From: Gemini AI Date: Sun, 14 Dec 2025 01:03:50 +0400 Subject: [PATCH] Fix: Installers use --legacy-peer-deps to resolve Ink conflict --- Install.ps1 | 2 +- OpenQode.bat | 2 +- OpenQode.sh | 2 +- install.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index a15ed79..1bdacf1 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -32,7 +32,7 @@ Set-Location $targetDir if (!(Test-Path "node_modules")) { Write-Host "Installing dependencies..." -ForegroundColor Yellow - npm install + npm install --legacy-peer-deps } else { Write-Host "Dependencies already installed." -ForegroundColor Green } diff --git a/OpenQode.bat b/OpenQode.bat index c3c2a47..9dd497a 100644 --- a/OpenQode.bat +++ b/OpenQode.bat @@ -12,7 +12,7 @@ REM --- Auto-Install Check --- if not exist "node_modules" ( echo [INFO] First run detected! Installing dependencies... echo [INFO] This might take a minute... - call npm install + call npm install --legacy-peer-deps if %errorlevel% neq 0 ( echo [ERROR] Failed to install dependencies. Please install Node.js. pause diff --git a/OpenQode.sh b/OpenQode.sh index 7a435a5..ee10af3 100644 --- a/OpenQode.sh +++ b/OpenQode.sh @@ -11,7 +11,7 @@ echo "========================================" if [ ! -d "node_modules" ]; then echo "[INFO] First run detected! Installing dependencies..." - npm install + npm install --legacy-peer-deps if [ $? -ne 0 ]; then echo "[ERROR] Failed to install dependencies. Please install Node.js." exit 1 diff --git a/install.sh b/install.sh index 7082f46..39be97a 100644 --- a/install.sh +++ b/install.sh @@ -43,7 +43,7 @@ cd "$TARGET_DIR" if [ ! -d "node_modules" ]; then echo -e "\033[1;33mInstalling dependencies...\033[0m" - npm install + npm install --legacy-peer-deps else echo -e "\033[0;32mDependencies already installed.\033[0m" fi