Electron app cant find sqlite3 module
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: In my electron app I have installed sqlite3 via npm npm install sqlite3 But once i try to interact with the database it cant find the database, here is the log: Uncaught Error: Cannot find module 'D:\play\electron-quick-start\node_modules\sqlite3\lib\binding\electron-v1.3-win32-x64\node_sqlite3.node' Here is JS code: console . log ( 'whooooo' ); var sqlite3 = require ( 'sqlite3' ). verbose (); var db = new sqlite3 . Database ( '../db/info.db' ); db . serialize ( function () { db . run ( "CREATE TABLE lorem (info TEXT)" ); var stmt