Fix: Installers now force dependency install with --legacy-peer-deps on every run

This commit is contained in:
Gemini AI
2025-12-14 01:04:49 +04:00
Unverified
parent fe417afbe2
commit 68d5cadd14
2 changed files with 9 additions and 11 deletions

View File

@@ -30,12 +30,8 @@ if (Test-Path $targetDir) {
Set-Location $targetDir
if (!(Test-Path "node_modules")) {
Write-Host "Installing dependencies..." -ForegroundColor Yellow
npm install --legacy-peer-deps
} else {
Write-Host "Dependencies already installed." -ForegroundColor Green
}
Write-Host "Installing dependencies..." -ForegroundColor Yellow
npm install --legacy-peer-deps
Write-Host "Installation complete! Launching..." -ForegroundColor Green
.\OpenQode.bat