Electron and oracledb - Error: NJS-045: cannot load a node-oracledb binary for Node.js 12.0.0 (win32 x64)

#1

I am developing an academic project with electron and oracle. My dbConnection.js file connects to the database and returns a success or error message.

When I run ‘node dbConnection.js’ the success message appears.

When I try to call the connection method in the electron application I get the following error: Error: NJS-045: Can not load a node-oracledb binary for Node.js 12.0.0 (win32 x64).

Windows 10 x64
Node v10.15.3
Oracle 11G
Phyton 3.7.3
VC Redist 2005/2013/2015/2019 (all these versions installed)
Electron 5.0.1

Any ideas how to solve the problem?