From 1711df82a8f765bf6590cd48d60bf65fbc0cac40 Mon Sep 17 00:00:00 2001 From: Sam Denty Date: Mon, 7 Oct 2024 14:17:59 +0100 Subject: [PATCH] fix(npm): include variable --- app/utils/shell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/shell.ts b/app/utils/shell.ts index 1c5c834..c5ad779 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();