Join Slack
Powered by
Just setup pact-js on my windows laptop yesterday ...
# pact-js
y
Yousaf Nabi (pactflow.io)
12/19/2022, 12:04 PM
Just setup pact-js on my windows laptop yesterday and had the usual mare
https://github.com/pact-foundation/pact-js/blob/master/docs/troubleshooting.md#installation-failing-missing-python-c-or-build-tools
It seems like the nodegyp and windows official instructions are out of date
https://github.com/nodejs/node-gyp#on-windows
https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#prerequisites
They mention using an npm package which is deprecated
https://github.com/felixrieseberg/windows-build-tools
I managed to get it working in the end by 1. Installing python ( type python in power shell - opens installer via ms store ) 2. Install nvm windows
https://github.com/coreybutler/nvm-windows
which updated my existing windows node installation ( installed via
https://nodejs.org/en/download/
) Any other windows users in here? Anyone tried on windows 11? Above was on win10
a
Alan Boshier
12/19/2022, 1:25 PM
Pact-js installation on windows has always been a nightmare; I'll try this out in January and let you know how it goes.
🙌 1
6
Views
Open in Slack
Previous
Next