-
Notifications
You must be signed in to change notification settings - Fork 63
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
Can't run winax with electron 13.1.4 #98
Comments
in my opinion --target=13.1.0 is a version of node.js
see C:\Users\user\AppData\Local\node-gyp\Cache\13.1.0\include\node\node_version.h
#define NODE_MODULE_VERSION 79
but need node.js version 14.16 (NODE_MODULE_VERSION 83)
вт, 29 июн. 2021 г. в 01:31, chpuget ***@***.***>:
… Hi,
I am using the latest winax version 3.1.5
I have upgraded to ***@***.*** which is currently 13.1.4 (
https://www.electronjs.org/)
At runtime, I get error : ActiveXObject failed : The module
'\?\C:......\node_modules\winax\build\Release\node_activex.node' was
compiled against a different Node.js version using NODE_MODULE_VERSION 83.
This version of Node.js requires NODE_MODULE_VERSION 89. Please try
re-compiling or re-installing the module (for instance, using npm rebuild
or npm install).
Which is normal as I didn't rebuild for electron
Then I launch : npm rebuild winax --runtime=electron --target=13.1.0
--dist-url=https://electronjs.org/headers --build-from-source
But then I get error :
ActiveXObject failed : The module
'\?\C:......\node_modules\winax\build\Release\node_activex.node' was
compiled against a different Node.js version using NODE_MODULE_VERSION 79.
This version of Node.js requires NODE_MODULE_VERSION 89. Please try
re-compiling or re-installing the module (for instance, using npm rebuild
or npm install).
Do you see how to make it work ?
Thanks and regards
Chris
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#98>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEMMNNJV6AJ4F4R3GW47G3TVDZ4FANCNFSM47O4CBZA>
.
|
Thanks for your fast answer durs, I have tried yesterday with many targets : 14x, 15.x, 16.x, ..., but none has a module version 89 Today, I tried this :
"scripts": {
I get error : An unhandled error occurred inside electron-rebuild Error: node-gyp failed to rebuild 'C:...\node_modules\winax'.
Maybe it's because it's using VS2019 to rebuild (I have both 2017 and 2019 on my machine) |
Can you retry this with
VS2019 works fine for me |
Hi Daniel, Can you please explain what you did exactly ? I have the latest electron 13.1.7
Regards |
Hi durs, Any idea how to solve this issue ? Chris |
Interesting... Apparently these are related: |
I am also getting the same error with the latest electron. Please let us know if there is any workaround or fix is coming. |
thanks for the fix, and sorry for delay, I close the issue |
Hi,
I am using the latest winax version 3.1.5
I have upgraded to electron@latest which is currently 13.1.4 (https://www.electronjs.org/)
At runtime, I get error : ActiveXObject failed : The module '\?\C:......\node_modules\winax\build\Release\node_activex.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 83. This version of Node.js requires NODE_MODULE_VERSION 89. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
).Which is normal as I didn't rebuild for electron
Then I launch : npm rebuild winax --runtime=electron --target=13.1.0 --dist-url=https://electronjs.org/headers --build-from-source
But then I get error :
ActiveXObject failed : The module '\?\C:......\node_modules\winax\build\Release\node_activex.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 79. This version of Node.js requires NODE_MODULE_VERSION 89. Please try re-compiling or re-installing the module (for instance, using
npm rebuild
ornpm install
).Do you see how to make it work ?
Thanks and regards
Chris
The text was updated successfully, but these errors were encountered: