Fix: Installers use --legacy-peer-deps to resolve Ink conflict

This commit is contained in:
Gemini AI
2025-12-14 01:03:50 +04:00
Unverified
parent edfb8628c2
commit fe417afbe2
4 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ Set-Location $targetDir
if (!(Test-Path "node_modules")) { if (!(Test-Path "node_modules")) {
Write-Host "Installing dependencies..." -ForegroundColor Yellow Write-Host "Installing dependencies..." -ForegroundColor Yellow
npm install npm install --legacy-peer-deps
} else { } else {
Write-Host "Dependencies already installed." -ForegroundColor Green Write-Host "Dependencies already installed." -ForegroundColor Green
} }

View File

@@ -12,7 +12,7 @@ REM --- Auto-Install Check ---
if not exist "node_modules" ( if not exist "node_modules" (
echo [INFO] First run detected! Installing dependencies... echo [INFO] First run detected! Installing dependencies...
echo [INFO] This might take a minute... echo [INFO] This might take a minute...
call npm install call npm install --legacy-peer-deps
if %errorlevel% neq 0 ( if %errorlevel% neq 0 (
echo [ERROR] Failed to install dependencies. Please install Node.js. echo [ERROR] Failed to install dependencies. Please install Node.js.
pause pause

View File

@@ -11,7 +11,7 @@ echo "========================================"
if [ ! -d "node_modules" ]; then if [ ! -d "node_modules" ]; then
echo "[INFO] First run detected! Installing dependencies..." echo "[INFO] First run detected! Installing dependencies..."
npm install npm install --legacy-peer-deps
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "[ERROR] Failed to install dependencies. Please install Node.js." echo "[ERROR] Failed to install dependencies. Please install Node.js."
exit 1 exit 1

View File

@@ -43,7 +43,7 @@ cd "$TARGET_DIR"
if [ ! -d "node_modules" ]; then if [ ! -d "node_modules" ]; then
echo -e "\033[1;33mInstalling dependencies...\033[0m" echo -e "\033[1;33mInstalling dependencies...\033[0m"
npm install npm install --legacy-peer-deps
else else
echo -e "\033[0;32mDependencies already installed.\033[0m" echo -e "\033[0;32mDependencies already installed.\033[0m"
fi fi