From 55ace55c911791daf587e299c18023d2d6784664 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 23 Apr 2024 14:27:01 -0400 Subject: [PATCH] use `npm` instead of deprecated `turbo` --- src/lib/client/adapters/webcontainer/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client/adapters/webcontainer/index.js b/src/lib/client/adapters/webcontainer/index.js index 274ef154d..9528f5ed4 100644 --- a/src/lib/client/adapters/webcontainer/index.js +++ b/src/lib/client/adapters/webcontainer/index.js @@ -131,7 +131,7 @@ export async function create(base, error, progress, logs, warnings) { await run_dev(); async function run_dev() { - const process = await vm.spawn('turbo', ['run', 'dev']); + const process = await vm.spawn('npm', ['run', 'dev']); // TODO differentiate between stdout and stderr (sets `vite_error` to `true`) // https://github.com/stackblitz/webcontainer-core/issues/971