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

Fix node version issue causing node-gyp rebuild error #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

p0pstas
Copy link

@p0pstas p0pstas commented Nov 14, 2024

Related to #68


For more details, open the Copilot Workspace session.

@popstas
Copy link

popstas commented Nov 14, 2024

Hello, I've tested locally, now it works at nodejs v20.17

example.js Outdated
const requiredNodeVersion = '13.11.0';
const currentNodeVersion = process.versions.node;

if (currentNodeVersion < requiredNodeVersion) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be enforced at the package.json level, not at the API usage

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, I've removed it from example, but changed line endings from CRLF to LF, without actual changes. Squashed to single commit.

Copy link
Owner

@sentialx sentialx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

3 participants