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

Can't get it to run on windows with node 22.2.0 #186

Open
valueerrorx opened this issue Jun 3, 2024 · 5 comments
Open

Can't get it to run on windows with node 22.2.0 #186

valueerrorx opened this issue Jun 3, 2024 · 5 comments

Comments

@valueerrorx
Copy link

i installed get-windows@latest and @mapbox/node-pre-gpy always compalins that "this module supports node-api version 9. this node instance cannot run this module. the node-api version of this node instance is 8

but node -p "process.versions.napi" says that 9 is active.

i already deleted all nodemodules updated global npm installation cleared cache... everything
on linux it runs fine with the same node and npm version

any ideas? what did i forget?

@trinhxyz
Copy link

trinhxyz commented Jul 8, 2024

@valueerrorx - any update on this, experiencing the same issue.

@ec2-learn-instant
Copy link

@valueerrorx - I'm also facing the same issue.

@Nantris
Copy link

Nantris commented Sep 12, 2024

@sindresorhus duplicate of #184

@sindresorhus
Copy link
Owner

It should already be using 9, so I'm not sure what the problem is:

get-windows/package.json

Lines 32 to 34 in 6e84e52

"napi_versions": [
9
]

@Nantris
Copy link

Nantris commented Sep 12, 2024

Oh sorry, I see I subtly misinterpreted the issue. I guess actually #184 could be closed in favor of this in that case?

@valueerrorx I wonder if you've tried 22.8.x since?

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

No branches or pull requests

5 participants