DIfferent Node.js version, DLL Initializing
See original GitHub issueHi fyears,
I’m following your tutorial after so many days of trying to get along with tkinter. In a way it feels weird to have two backends running seperatly (node and python), but in my case this is just what i need, because i build my framework, which I want to use, in python.
Unfortunately I’m facing an issue when running npm start
. The window shows up, already showing the DOM like I want to look like, but the console opens up with the following error:
ELECTRON_ASAR.js:173
Uncaught Error: The module '\\?\C:\Users\Thomas\Projekte\merge-documents\settings\node_modules\zerorpc\node_modules\zeromq\build\Release\zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 50. This version of Node.js requires
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or`npm install`).
[...]
So I run npm rebuild
and try it again. Now the console shows the following error:
Uncaught Error: Eine DLL-Initialisierungsroutine ist fehlgeschlagen.
\\?\C:\Users\Thomas\Projekte\merge-documents\settings\node_modules\zerorpc\node_modules\zeromq\build\Release\zmq.node
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
at Object.Module._extensions..node (module.js:598:18)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\Thomas\Projekte\merge-documents\settings\node_modules\zerorpc\node_modules\zeromq\lib\index.js:6:11)
at Object.<anonymous> (C:\Users\Thomas\Projekte\merge-documents\settings\node_modules\zerorpc\node_modules\zeromq\lib\index.js:839:3)
The german sentence of the uncaught error means “A DLL initialization routine failed” 😉
Thanks in advance, Thomas
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
DLL initialization routine failed · Issue #1708 · nodejs/help
dll when I built Node.js. I was able to successfully build an addon with that using node-gyp, but when I tried to run...
Read more >Error: A dynamic link library (DLL) initialization routine failed ...
1 the command ran fine but I still got same error. UPDATE 2: inside the console, I clicked in the javascript source code...
Read more >n - npm
Interactively Manage All Your Node Versions. Latest version: 9.0.1, last published: 2 months ago. Start using n in your project by running ...
Read more >Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node v19.0.0 / LTS v16.18.0.
Read more >Node.js v19.3.0 Documentation
If the error is of a different type, or if the error parameter is undefined, the error is propagated back to the caller....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@draperjames i just answered my solution for the same error here
Thanks your command fixed my problem:
npm rebuild zeromq --runtime=electron --target=1.6.2