move node install to setup environment script

This commit is contained in:
2026-05-28 12:28:55 +02:00
parent 6e00920b92
commit b81b63a4b9
2 changed files with 90 additions and 73 deletions
-12
View File
@@ -34,18 +34,6 @@ function Save-ElxInternals {
Push-Location -StackName ElxTools $extractElxToolsScriptPath
if (-not $Quiet) {
Write-Host "Installing Node.js dependencies for the ELX Tools..."
}
# Install Node.js dependencies for the ELX Tools
& npm install
if ($LASTEXITCODE -ne 0) {
Write-Error "npm install failed with exit code $LASTEXITCODE."
exit 1
}
if (-not $Quiet) {
Write-Host "Node.js dependencies installed successfully!" -ForegroundColor Cyan
Write-Host "Executing ELX extraction..."
}