From a29da64e33624aec94a2b106ce7f5e938216347c Mon Sep 17 00:00:00 2001 From: Denys Halenok Date: Tue, 20 Feb 2024 10:57:31 +0100 Subject: [PATCH] Don't install all dependencies from node_modules --- src/static/js/pluginfw/installer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/pluginfw/installer.js b/src/static/js/pluginfw/installer.js index 8d23e13a9..ed7b328e3 100644 --- a/src/static/js/pluginfw/installer.js +++ b/src/static/js/pluginfw/installer.js @@ -53,7 +53,7 @@ const migratePluginsFromNodeModules = async () => { await Promise.all(Object.entries(dependencies) .filter(([pkg, info]) => pkg.startsWith(plugins.prefix) && pkg !== 'ep_etherpad-lite') .map(async ([pkg, info]) => { - if (!info._resolved) { + if (!info.resolved) { // Install from node_modules directory await exports.manager.installFromPath(`${findEtherpadRoot()}/node_modules/${pkg}`); } else {