$ErrorActionPreference = "Stop" npm install Push-Location worker npm install Pop-Location npm install -g pm2 Write-Host "Dependencies installed."