-
Notifications
You must be signed in to change notification settings - Fork 79
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
pact-node\standalone\win32-1.88.83\pact\lib\ruby\bin.real\ruby.exe is not compatible with the version of Windows you're running #487
Comments
Hey, is there any reason you aren't running the latest version of pact-js? It replaces the ruby core, with a rust core, which should bring several QoL improvments |
Hi, I'm considering updating the package, but it seems that it will require a significant amount of time because I also need to update Jest by several major versions. I was wondering if there is a short-term solution to fix the errors preventing tests execution, while I'm updating the packages. |
|
Thanks for the advice. The latest release of pact-ruby-standalone works fine on Windows.
Is there a more appropriate way of replacing pact-ruby-standalone? I noticed there is a monkeypatch prop, but it does not seem to be the solution. |
Great, glad that is working. Which package out of interest, x86 or x86_64? |
I replaced the existing version in node_modules with pact-2.4.1-windows-x86. However, I encountered an issue: I can't use this version with pact_binary_location because the installation process requires pact-1.91.0-win32. It seems that everything below 2.x.x is not working on Windows. |
ahh yeah, it will check both the file name, but you cant change that as it will check against the checksum which is stored in the package. the proper alternative would be to do a change in the pact-node branch to update the binaries, and consume that in the v9 branch of pact-js I’ve previously done it on my fork to test out the arm64 binaries in the v2 release of the pact ruby standalones. @mefellows do you think we would want to backport the arm64 changes and go through the motions of a release? we could couple it with two rfc’s in the mainline - one to remove the standalone, and release pact-js-cli. one to being in the alpine prebuilds the musl prebuilds will bring in 45mb for each arch (amd/arm64) but removing the standalone will save 50mb per platform/arch. i think it stands at 250mb uncompressed we’d save. with regards to pact-js-cli, retaining the js interface in the cli package, might allow a more frictionless migration. |
@DmitriiFedorov you should see the problem resolved with
Note you should only need to install |
Software versions
Issue Checklist
Please confirm the following:
Expected behaviour
Tests run locally
Actual behaviour
Errors when start tests:
The text was updated successfully, but these errors were encountered: