Skip to content

Should build node binaries for newest major node version #198

@TommyTechh

Description

@TommyTechh

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Low Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions