Skip to content

Commit 7535876

Browse files
authored
Merge pull request #2827 from galacean/fix/editorPreload
Resolve dependency conflicts in `scripts/build-editor-preload.js`
2 parents 337b019 + 17972f2 commit 7535876

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/shader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"b:types": "tsc"
1919
},
2020
"umd": {
21-
"name": "Galacean.Shader",
21+
"name": "Galacean.ShaderFragment",
2222
"globals": {
2323
"@galacean/engine": "Galacean"
2424
}

scripts/build-editor-preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if (useNpmArg) {
106106

107107
// Install packages
108108
try {
109-
execSync("npm install", { stdio: "inherit", cwd: tempDir });
109+
execSync("npm install --legacy-peer-deps", { stdio: "inherit", cwd: tempDir });
110110
} catch (error) {
111111
console.error("Failed to install second-party packages:", error);
112112
process.exit(1);

0 commit comments

Comments
 (0)