Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/static/js/pluginfw/installer.ts b/src/static/js/pluginfw/installer.ts 2index c605378e1..27e3e487b 100644 3--- a/src/static/js/pluginfw/installer.ts 4+++ b/src/static/js/pluginfw/installer.ts 5@@ -83,7 +83,13 @@ export const checkForMigration = async () => { 6 try { 7 await fs.access(installedPluginsPath, fs.constants.F_OK); 8 } catch (err) { 9- await migratePluginsFromNodeModules(); 10+ logger.info(`${installedPluginsPath} not found, creating using current node modules`); 11+ try { 12+ await migratePluginsFromNodeModules(); 13+ } catch (err2) { 14+ logger.warn(`unable to create ${installedPluginsPath}, skipping plugin migrations`); 15+ return; 16+ } 17 } 18 19 /*