Sam Denty
commited on
fix(npm): fix hanging shells (#153)
Browse files- 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();
|