mirror of
https://github.com/galacean/engine.git
synced 2026-06-05 19:27:46 +08:00
Merge pull request #2829 from cptbtptpbcptdtptp/script/Recover
Recover `scripts/build-editor-preload.js` for 1.5
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user