Skip to content

feat: added support for v26#2524

Draft
aryamohanan wants to merge 8 commits intomainfrom
feat-v26
Draft

feat: added support for v26#2524
aryamohanan wants to merge 8 commits intomainfrom
feat-v26

Conversation

@aryamohanan
Copy link
Copy Markdown
Contributor

@aryamohanan aryamohanan commented Apr 28, 2026

Tasks

ref https://jsw.ibm.com/browse/INSTA-80071

Issues

Node.js comes with V8 14.6 and some breaking changes. There asre two PRs to support Node.js on Nan and node-gyp:

Also yargs v17 also not compatible with v26

Let's wait for the v26 fixes

@aryamohanan
Copy link
Copy Markdown
Contributor Author

Currently the prebuilds are not working:

This seems to be due to NAN (Native Abstractions for Node.js) not supporting Node.js v26 yet. See: https://github.com/nodejs/nan#native-abstractions-for-nodejs

The current NAN version 2.26.2 only supports Node.js up to version 25. Node.js v26 introduced breaking changes in the V8 API that are incompatible with NAN.
Prebuilds for Node.js v26 cannot be generated until NAN releases v26 support or we migrate to node-addon-api (N-API)

The gc-stats also filing on npm install step, because of the nan.

I've created an issue here nodejs/nan#1017

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 7, 2026

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

Successfully merging this pull request may close these issues.

1 participant