mirror of
https://github.com/galacean/engine.git
synced 2026-05-06 22:23:05 +08:00
fix: resolve dependency conflicts
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
"b:types": "tsc"
|
||||
},
|
||||
"umd": {
|
||||
"name": "Galacean.Shader",
|
||||
"name": "Galacean.ShaderSegment",
|
||||
"globals": {
|
||||
"@galacean/engine": "Galacean"
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user