From efcb93d6d8d4a79f74b2541244981d6a79dcc77b Mon Sep 17 00:00:00 2001 From: Sam Denty Date: Mon, 7 Oct 2024 15:51:16 +0200 Subject: [PATCH] fix(npm): fix hanging shells (#153) --- app/utils/shell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/shell.ts b/app/utils/shell.ts index 1c5c834d..c5ad7798 100644 --- a/app/utils/shell.ts +++ b/app/utils/shell.ts @@ -11,6 +11,7 @@ export async function newShellProcess(webcontainer: WebContainer, terminal: ITer cols: terminal.cols ?? 80, rows: terminal.rows ?? 15, }, + env: { npm_config_yes: true }, }); const input = process.input.getWriter();