From 3b0b313736334bcf8be0828ac07651ee0012fa3f Mon Sep 17 00:00:00 2001 From: cptbtptpbcptdtptp Date: Thu, 18 Sep 2025 16:18:04 +0800 Subject: [PATCH] fix: recover script --- scripts/build-editor-preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-editor-preload.js b/scripts/build-editor-preload.js index 30be144c8..720cc0b32 100644 --- a/scripts/build-editor-preload.js +++ b/scripts/build-editor-preload.js @@ -106,7 +106,7 @@ if (useNpmArg) { // Install packages try { - execSync("pnpm install", { stdio: "inherit", cwd: tempDir }); + execSync("npm install", { stdio: "inherit", cwd: tempDir }); } catch (error) { console.error("Failed to install second-party packages:", error); process.exit(1);