From e1d4c38cee188404f906a288ac10e765052eccbf Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 22 Mar 2026 22:46:28 -0700 Subject: [PATCH] fix(runtime): skip peer resolution for bundled plugin deps --- scripts/stage-bundled-plugin-runtime-deps.mjs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/stage-bundled-plugin-runtime-deps.mjs b/scripts/stage-bundled-plugin-runtime-deps.mjs index ba6a6a1183c..e989e256c4a 100644 --- a/scripts/stage-bundled-plugin-runtime-deps.mjs +++ b/scripts/stage-bundled-plugin-runtime-deps.mjs @@ -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",