-
-
Notifications
You must be signed in to change notification settings - Fork 350
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
Upgrade node-gyp-build to support python 3.11+ users #1087
Comments
hmm node-gyp suggest We have some troubleshooting notes here that warrant updating :)
|
The global |
Thanks for the update, I saw the same issue running node 15 in a test earlier today This line fixed it taken from node-gyp's guide passing run |
This cannot be the solution, though. A simple
The same goes for the pipelines. You should not be required to take additional steps to just install the pact package. Couldn't the Out of curiosity: Why are you (transitively) depending on Python in a node project in the first place? This seems a little odd. |
It's not the only javascript project to do so see electrons guidance https://www.electronjs.org/docs/latest/tutorial/using-native-node-modules See this issue for #899 for tracking. I agree its suboptimal Happy for someone to propose a PR with the suggested change |
I don't agree, you may have to take additional steps, dependant on the package and how its built, that is just life, however they should be very well documented, so as to cause minimal frustration to end users. |
Closing this issue as invalid node-gyp-build isn't included in the package.json for pact-js and its core pact-js-core /~https://github.com/pact-foundation/pact-js/blob/master/package.json |
If anyone stumbles here again... Change the line with the error from rU to r, and run 'nmp rebuild' |
thanks, they should just install the latest version 12.x or later as that doesn't require this build step at all 👍🏾 |
Software versions
Please provide at least OS and version of pact-js
Issue Checklist
Please confirm the following:
Expected behaviour
Just trying to run
npm i -S @pact-foundation/pact@latest
on a box with python 3.11.2 installed, would like it to installActual behaviour
Error encountered. See this gyp issue for more info on what's going on here.
Relevant log files
The text was updated successfully, but these errors were encountered: