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

Compatibility with MSYS2 #677

Open
fauxpark opened this issue Feb 7, 2023 · 0 comments
Open

Compatibility with MSYS2 #677

fauxpark opened this issue Feb 7, 2023 · 0 comments

Comments

@fauxpark
Copy link

fauxpark commented Feb 7, 2023

MSYS2 has recently gotten a working Node. However, packages with prebuilt native code, such as bcrypt, do not work as the node-pre-gyp detects the OS as Windows (technically correct), but the library is incompatible with this build of Node. So, I've opened this issue to ask whether there's a preferred path for something like this to be solved.

Running node-pre-gyp rebuild gets it working, but it would be better if node-pre-gyp could detect whether it's running within MSYS2, and either try to pull an MSYS2-specific prebuilt library, or skip it entirely, and fall back to building from source. The former might be an issue as there are several variants of "native packages" in MSYS2, which are not compatible with each other.

More context here: msys2/MINGW-packages#15048

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

1 participant