Skip to content

Commit

Permalink
fix(npm): fix hanging shells (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdenty authored Oct 7, 2024
1 parent 0934c93 commit efcb93d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit efcb93d

Please sign in to comment.