From d06513d39b2c58a503bbfd4bac098666f70a4df4 Mon Sep 17 00:00:00 2001 From: yacchin1205 <968739+yacchin1205@users.noreply.github.com> Date: Sat, 1 Jun 2024 02:50:28 +0000 Subject: [PATCH] Fix migration scripts to skip checking for the system directory of live-plugin-manager --- src/static/js/pluginfw/installer.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/static/js/pluginfw/installer.ts b/src/static/js/pluginfw/installer.ts index 4d2ceaf45..effed768a 100644 --- a/src/static/js/pluginfw/installer.ts +++ b/src/static/js/pluginfw/installer.ts @@ -100,6 +100,10 @@ export const checkForMigration = async () => { for (let file of files){ const moduleName = path.basename(file); + if (moduleName === '.versions') { + // Skip the directory using live-plugin-manager + continue; + } try { await fs.access(path.join(node_modules, moduleName), fs.constants.F_OK); logger.debug(`plugin ${moduleName} already exists in node_modules`);