According to your npm page: https://www.npmjs.com/package/@zowe/db2-for-zowe-cli
If we get the following error:
@zowe\db2-for-zowe-cli\node_modules\ibm_db\build\Release\odbc_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 137. This version of Node.js requires
NODE_MODULE_VERSION 141. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
We should simply uninstall and install again. However, the plugin is currently not support the major version 25, so this does not work.
When using the newest major version of node, the plugin should build the correct node binaries.
Describe your environment
Windows 11 running node 25.x
Additional context
On a fresh PC i installed the newest node 25, install zowe via npm i -g @zowe/cli and then installed the plugin with zowe plugins install @zowe/db2-for-zowe-cli
And got the error. So my node version has not changed after install.
According to your npm page: https://www.npmjs.com/package/@zowe/db2-for-zowe-cli
If we get the following error:
@zowe\db2-for-zowe-cli\node_modules\ibm_db\build\Release\odbc_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 137. This version of Node.js requires
NODE_MODULE_VERSION 141. Please try re-compiling or re-installing
the module (for instance, using
npm rebuildornpm install).We should simply uninstall and install again. However, the plugin is currently not support the major version 25, so this does not work.
When using the newest major version of node, the plugin should build the correct node binaries.
Describe your environment
Windows 11 running node 25.x
Additional context
On a fresh PC i installed the newest node 25, install zowe via npm i -g @zowe/cli and then installed the plugin with zowe plugins install @zowe/db2-for-zowe-cli
And got the error. So my node version has not changed after install.