move node install to setup environment script
This commit is contained in:
@@ -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..."
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user