mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:50:46 +00:00
fix(plugins): tolerate bundled peer resolution
This commit is contained in:
@@ -258,7 +258,14 @@ export function runBundledPluginPostinstall(params = {}) {
|
||||
existsSync: pathExists,
|
||||
platform: params.platform,
|
||||
comSpec: params.comSpec,
|
||||
npmArgs: ["install", "--omit=dev", "--no-save", "--package-lock=false", ...missingSpecs],
|
||||
npmArgs: [
|
||||
"install",
|
||||
"--omit=dev",
|
||||
"--no-save",
|
||||
"--package-lock=false",
|
||||
"--legacy-peer-deps",
|
||||
...missingSpecs,
|
||||
],
|
||||
});
|
||||
const result = spawn(npmRunner.command, npmRunner.args, {
|
||||
cwd: packageRoot,
|
||||
|
||||
Reference in New Issue
Block a user