Git Product home page Git Product logo

Comments (3)

trusktr avatar trusktr commented on August 18, 2024 12

Figured it out.

npm install electron-rebuild && ./node_modules/.bin/electron-rebuild

from zeromq.node.

sebaster44 avatar sebaster44 commented on August 18, 2024

I am getting the same error and
runnig: npm install electron-rebuild && ./node_modules/.bin/electron-rebuild
did not solved the problem.

I did the folloing:
1 - npm install electron
2 - npm install zeromq
3 - npm install --save-dev electron-rebuild
4 - .\node_modules.bin\electron-rebuild.cmd

Anyone could help?

C:\Dev\MyElectronApp3\node_modules\zeromq\build\Release\zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
at process.func (electron/js2c/asar.js:155:31)
at process.func [as dlopen] (electron/js2c/asar.js:155:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
at Object.func (electron/js2c/asar.js:155:31)
at Object.func [as .node] (electron/js2c/asar.js:155:31)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (C:\Dev\MyElectronApp3\node_modules\zeromq\lib\index.js:6:11)

from zeromq.node.

trusktr avatar trusktr commented on August 18, 2024

I'm running into this problem again, but this time electron-rebuild isn't helping (@sebaster44 any luck?). I'll post back if I find out what's up.

from zeromq.node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.