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

How to rebuild for node 22.0.0? #135

Open
yg-i opened this issue Apr 25, 2024 · 2 comments
Open

How to rebuild for node 22.0.0? #135

yg-i opened this issue Apr 25, 2024 · 2 comments

Comments

@yg-i
Copy link

yg-i commented Apr 25, 2024

The error message I'm getting when trying to use it with node version 22:

Error: The module '\\?\C:\@CS\js\nd\node_modules\.pnpm\winax@3.4.2\node_modules\winax\build\Release\node_activex.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 120. This version of Node.js requires
NODE_MODULE_VERSION 127. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).

image

@durs
Copy link
Owner

durs commented Apr 27, 2024

try the new winax@3.5.1 fix

@yg-i
Copy link
Author

yg-i commented Apr 27, 2024

Worked like a charm!

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

2 participants