fix(runtime): skip peer resolution for bundled plugin deps

This commit is contained in:
Vincent Koc
2026-03-22 22:46:28 -07:00
parent c036e4d176
commit e1d4c38cee

View File

@@ -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",