-
Notifications
You must be signed in to change notification settings - Fork 166
Open
Description
Ok this is probbably just a noob question but I keep getting this error when using zerorpc in electron.
error message:
Uncaught Error: The module '/home/jan/Development/musicled/node_modules/zeromq/build/Release/zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 67. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:166:20)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:740)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:166:20)
at Module.load (internal/modules/cjs/loader.js:620)
at tryModuleLoad (internal/modules/cjs/loader.js:559)
at Function.Module._load (internal/modules/cjs/loader.js:551)
at Module.require (internal/modules/cjs/loader.js:658)
at require (internal/modules/cjs/helpers.js:20)
at Object.<anonymous> (/home/jan/Development/musicled/node_modules/zeromq/lib/index.js:6)
at Object.<anonymous> (/home/jan/Development/musicled/node_modules/zeromq/lib/index.js:848)
dependencies in my package.json:
"dependencies": {
"zeromq": "^4.6.0",
"zerorpc": "^0.9.8"
},
"devDependencies": {
"electron": "3.0.2"
},
"scripts": {
"start": "electron ."
}
I have tried changing versions, running npm rebuild... no success.
What am I doing wrong?
Thank you for your patience.
CrazyCrud, tom-james-watson and rodrigosobrero
Metadata
Metadata
Assignees
Labels
No labels