From a43ce33adfd2986689f0dd2d2f6ace294c371104 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Thu, 5 Jan 2023 10:21:12 +0000 Subject: [PATCH] Desktop: Fixed certain plugins that were using the sqlite3 database --- packages/app-desktop/services/plugins/plugin_index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/services/plugins/plugin_index.js b/packages/app-desktop/services/plugins/plugin_index.js index 09b5ea70f7..2e3a761923 100644 --- a/packages/app-desktop/services/plugins/plugin_index.js +++ b/packages/app-desktop/services/plugins/plugin_index.js @@ -53,7 +53,7 @@ // The sqlite3 is actually part of the lib package so we need to do // something convoluted to get it working. if (modulePath === 'sqlite3') { - return require('../../node_modules/@joplin/lib/node_modules/sqlite3/sqlite3.js'); + return require('../../node_modules/@joplin/lib/node_modules/sqlite3/lib/sqlite3.js'); } if (['fs-extra'].includes(modulePath)) return require(modulePath);