fix(npm): fix hanging shells (#153)
This commit is contained in:
parent
0934c932d7
commit
efcb93d6d8
@ -11,6 +11,7 @@ export async function newShellProcess(webcontainer: WebContainer, terminal: ITer
|
|||||||
cols: terminal.cols ?? 80,
|
cols: terminal.cols ?? 80,
|
||||||
rows: terminal.rows ?? 15,
|
rows: terminal.rows ?? 15,
|
||||||
},
|
},
|
||||||
|
env: { npm_config_yes: true },
|
||||||
});
|
});
|
||||||
|
|
||||||
const input = process.input.getWriter();
|
const input = process.input.getWriter();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user