Skip to content

Compiled against a different Node.js version using NODE_MODULE_VERSION 108. This version of Node.js requires NODE_MODULE_VERSION 125 #298

Description

@rickg-hcl

attempting to use headless-js under electron main process, and I'm getting this error:

Error: The module 'node_modules/gl/build/Release/webgl.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 108. This version of Node.js requires
NODE_MODULE_VERSION 125. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).

when the require('gl') is executed.

I have done npm install and npm rebuild with no different results.

How do I recover from this?

a saw the closed issue:
#266

but I didn't see anything that helps me there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions