-
Notifications
You must be signed in to change notification settings - Fork 200
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
ffi-napi issue on windows while installation #2061
Comments
Maybe this is related to the comment from @btsimonh in nodejs/node#52240 (comment). I'll check as soon as I can get a Windows machine, but in the meantime probably it may work for you if you force
|
@genaris - I tried this but got the same error. |
see the mods I mention in node-ffi-napi/node-ffi-napi#270 - the one about libffi.gyp. |
@genaris @btsimonh - I tried steps given in node-ffi-napi/node-ffi-napi#270 . Still I am getting same error. I tried these node version v18.19.0 , v20.11.1, v22.11.0. Could you please help me out with detailed steps to follow? |
Hi @RinkalBhojani, pls try these repos: for me, this set is working together for node 22.10.0, and should be ok with 18, 20, 22. It's not tested on <= 16, or on odd numbered node. The changes are a combination of all the resources I could find, plus adapting to use git actions over appveyer. Feel free to use those, or fork them. ffi-napi is a fork of @cclauss version. It include prebuilds for linux, windows, macos x64 macos arm64. br, |
I am facing below issue on my windows machine while installation.
@TimoGlastra @berendsliedrecht @genaris - Do you have any idea for this?
It fails to build 'ffi-napi' related package.
Am I missing something or needs to changed
The text was updated successfully, but these errors were encountered: