fix: resolve dependency conflicts

This commit is contained in:
cptbtptpbcptdtptp
2025-09-18 14:31:54 +08:00
parent 337b019a41
commit bf485d3c32
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
"b:types": "tsc"
},
"umd": {
"name": "Galacean.Shader",
"name": "Galacean.ShaderSegment",
"globals": {
"@galacean/engine": "Galacean"
}

View File

@@ -106,7 +106,7 @@ if (useNpmArg) {
// Install packages
try {
execSync("npm install", { stdio: "inherit", cwd: tempDir });
execSync("npm install --legacy-peer-deps", { stdio: "inherit", cwd: tempDir });
} catch (error) {
console.error("Failed to install second-party packages:", error);
process.exit(1);