mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-24 00:11:31 +00:00
fix(runtime): skip peer resolution for bundled plugin deps
This commit is contained in:
@@ -86,7 +86,14 @@ function installPluginRuntimeDeps(pluginDir, pluginId) {
|
||||
sanitizeBundledManifestForRuntimeInstall(pluginDir);
|
||||
const result = spawnSync(
|
||||
"npm",
|
||||
["install", "--omit=dev", "--silent", "--ignore-scripts", "--package-lock=false"],
|
||||
[
|
||||
"install",
|
||||
"--omit=dev",
|
||||
"--silent",
|
||||
"--ignore-scripts",
|
||||
"--legacy-peer-deps",
|
||||
"--package-lock=false",
|
||||
],
|
||||
{
|
||||
cwd: pluginDir,
|
||||
encoding: "utf8",
|
||||
|
||||
Reference in New Issue
Block a user