Sam Denty commited on
Commit
efcb93d
·
unverified ·
1 Parent(s): 0934c93

fix(npm): fix hanging shells (#153)

Browse files
Files changed (1) hide show
  1. app/utils/shell.ts +1 -0
app/utils/shell.ts CHANGED
@@ -11,6 +11,7 @@ export async function newShellProcess(webcontainer: WebContainer, terminal: ITer
11
  cols: terminal.cols ?? 80,
12
  rows: terminal.rows ?? 15,
13
  },
 
14
  });
15
 
16
  const input = process.input.getWriter();
 
11
  cols: terminal.cols ?? 80,
12
  rows: terminal.rows ?? 15,
13
  },
14
+ env: { npm_config_yes: true },
15
  });
16
 
17
  const input = process.input.getWriter();