node-activex icon indicating copy to clipboard operation
node-activex copied to clipboard

How to rebuild for node 22.0.0?

Open yg-i opened this issue 10 months ago • 2 comments

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\[email protected]\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

yg-i avatar Apr 25 '24 19:04 yg-i

try the new [email protected] fix

durs avatar Apr 27 '24 06:04 durs

Worked like a charm!

yg-i avatar Apr 27 '24 18:04 yg-i