Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rickg-hcl opened this issue Sep 27, 2024 · 0 comments

Comments

@rickg-hcl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant