Fixed base plugin install path.

This commit is contained in:
SamTV12345 2024-01-31 12:20:20 +01:00
parent a7f81e824a
commit 630e1f7ebb

View file

@ -53,7 +53,7 @@ const migratePluginsFromNodeModules = async () => {
if (pkg.startsWith(plugins.prefix) && pkg !== 'ep_etherpad-lite') {
if (!info._resolved) {
// Install from node_modules directory
await exports.manager.installFromPath(`${findEtherpadRoot()}/src/node_modules/${pkg}`);
await exports.manager.installFromPath(`${findEtherpadRoot()}/node_modules/${pkg}`);
} else {
await exports.manager.install(pkg);
}