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
So I'm currently working on a project using Electron and Hummus-Recipe to edit existing pdf's.
As soon as I run the Electron-App with hummus-recipe the developer console shows me the following:
Uncaught Error: The module '\\?\D:\WebDev\Electron\electron_pdf-generator\node_modules\hummus\binding\hummus.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 57. 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:160:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:722)
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
at Module.load (internal/modules/cjs/loader.js:602)
at tryModuleLoad (internal/modules/cjs/loader.js:541)
at Function.Module._load (internal/modules/cjs/loader.js:533)
at Module.require (internal/modules/cjs/loader.js:640)
at require (internal/modules/cjs/helpers.js:20)
at Object.<anonymous> (D:\WebDev\Electron\electron_pdf-generator\node_modules\hummus\hummus.js:5)
at Object.<anonymous> (D:\WebDev\Electron\electron_pdf-generator\node_modules\hummus\hummus.js:31)
I searched to try and find cases with similar problems and it was either to rebuild the module with
npmrebuild
or reinstalling the whole module (as already mentioned in the console log above).
Nothing seems to work for me here.
Maybe someone here can help me fix this problem.
The text was updated successfully, but these errors were encountered:
YotaHub
changed the title
Electron 4.0 and Hummus-Recipe
Conflicting NODE_MODULE_VERSION's
Jan 1, 2019
This is because you are rebuilding using your node version and not the electron version.
To solve this install electron rebuilder: npm install --save-dev electron-rebuild
and then run: ./node_modules/.bin/electron-rebuild
This is because you are rebuilding using your node version and not the electron version.
To solve this install electron rebuilder: npm install --save-dev electron-rebuild
and then run: ./node_modules/.bin/electron-rebuild
So I'm currently working on a project using Electron and Hummus-Recipe to edit existing pdf's.
As soon as I run the Electron-App with hummus-recipe the developer console shows me the following:
I searched to try and find cases with similar problems and it was either to rebuild the module with
or reinstalling the whole module (as already mentioned in the console log above).
Nothing seems to work for me here.
Maybe someone here can help me fix this problem.
The text was updated successfully, but these errors were encountered: