Skip to content
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

Node.js > 16 fails on Windows #270

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cclauss
Copy link

@cclauss cclauss commented Mar 29, 2024

Test results: https://github.com/cclauss/node-ffi-napi/actions

Recommendations:

  • Do not run npm test
  • macOS and Ubuntu: Node.js v20.x and Python 3.12
  • Windows: Node.js v16.x and Python 3.11 -- Do not run node-gyp rebuild

Lessons learned:

  1. Node.js >= v21 fails
  2. Node.js >= 18 fails on Windows
  3. Python >= 3.12 fails on Node.js 16 because of distlib fixed in node-gyp v10.0
  4. npm test fails with npm ERR! Missing script: "test"
  5. node-gyp rebuild fails on Node.js 16

Recommendations:
* Do not run `npm test`
* macOS and Ubuntu: Node.js v20.x and Python 3.12
* Windows: Node.js v16.x and Python 3.11 -- Do not run `node-gyp rebuild`

Lessons learned:
1. Node.js >= v21 fails
2. Node.js >= 18 fails on Windows
3. Python >= 3.12 fails on Node.js 16 because of distlib fixed in node-gyp v10.0
4. `npm test` fails with: npm ERR! Missing script: "test"
5. `node-gyp rebuild` fails on Node.js 16
@cclauss cclauss changed the title Node.js > 16 failes on Windows Node.js > 16 fails on Windows Mar 29, 2024
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.

None yet

1 participant