diff --git a/lib/ContentPluginModule.js b/lib/ContentPluginModule.js index c0a1214..e7d2a1a 100644 --- a/lib/ContentPluginModule.js +++ b/lib/ContentPluginModule.js @@ -140,7 +140,8 @@ class ContentPluginModule extends AbstractApiModule { const installedPlugins = await this.framework.getInstalledPlugins() if (!dbPlugins.length) { // no plugins in the DB, start afresh - return this.installPlugins(installedPlugins.map(p => `${p.name}@${p.requestedVersion}`)) + const manifestPlugins = await this.framework.getManifestPlugins() + return this.installPlugins(manifestPlugins) } const missingPlugins = dbPlugins .filter(dbP => !installedPlugins.find(fwP => dbP.name === fwP.name))