Skip to content

Conflicting NODE_MODULE_VERSION's #70

@YotaHub

Description

@YotaHub

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

npm rebuild

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions