$ErrorActionPreference = "Stop" Push-Location "$PSScriptRoot\.." try { npm install npm run dev } finally { Pop-Location }