Electron crashes when requiring sqlite3 native module in forked process
问题 I'm trying to use sqlite3 module in a child process with electron, but I get error of undefined symbol. Also, the error happens only when I run the program from electron's node.js, but when I run the program from usual node.js everything works fine. I think the problem may be related to 'nativeness' of sqlite3 module, and I tried electron-rebuild , npm --build-from-source , they didn't help. main.js: const { fork } = require('child_process'); fork('fork'); fork.js: const sqlite3 = require(