You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
F:\Project\Test\electron\preload.js
at Module._resolveFilename (VM97 loader:940:15)
at i._resolveFilename (VM119 renderer_init:33:1095)
at Module._load (VM97 loader:785:27)
at c._load (VM116 asar_bundle:5:13343)
at i._load (VM119 renderer_init:33:356)
at Module.require (VM97 loader:1012:19)
at require (VM96 helpers:102:18)
at Object. (VM249 F:\Project\Pac…ax\activex.js:1:187)
at Object. (VM249 F:\Project\Pac…inax\activex.js:7:3)
at Module._compile (VM97 loader:1118:14)
i have solved the problem ‘complied against different nodejs version’. But then a new problem arose, what should i do?
I have noticed the same problem, and the solution is to find activex.js change the first line to 'var ActiveX = module.exports = require('./build/Release/node_activex.node');'.
But that's what the file is, it doesn't work.
node: v19.9.0
node-gyp: v9.3.1
electron: 19.1.1
python: 3.10.9
system edition: Windows 11 Pro 21H2
The text was updated successfully, but these errors were encountered:
Error: Cannot find module './build/Release/node_activex.node'
Require stack:
at Module._resolveFilename (VM97 loader:940:15)
at i._resolveFilename (VM119 renderer_init:33:1095)
at Module._load (VM97 loader:785:27)
at c._load (VM116 asar_bundle:5:13343)
at i._load (VM119 renderer_init:33:356)
at Module.require (VM97 loader:1012:19)
at require (VM96 helpers:102:18)
at Object. (VM249 F:\Project\Pac…ax\activex.js:1:187)
at Object. (VM249 F:\Project\Pac…inax\activex.js:7:3)
at Module._compile (VM97 loader:1118:14)
i have solved the problem ‘complied against different nodejs version’. But then a new problem arose, what should i do?
I have noticed the same problem, and the solution is to find activex.js change the first line to 'var ActiveX = module.exports = require('./build/Release/node_activex.node');'.
But that's what the file is, it doesn't work.
node: v19.9.0
node-gyp: v9.3.1
electron: 19.1.1
python: 3.10.9
system edition: Windows 11 Pro 21H2
The text was updated successfully, but these errors were encountered: