Christophe Laranjo
08/22/2023, 10:30 PM2023/08/23 00:23:26 [INFO] checking pact-mock-service within range >= 3.5.0, < 4.0.0
2023/08/23 00:23:26 [ERROR] CLI tools are out of date, please upgrade before continuing
this link explains how to install the standalone, but I don't find it very clear: https://github.com/pact-foundation/pact-ruby-standalone/releases
once I've downloaded the right version for windows and unzipped it, I get a pact folder with two folders in it, but in the link it just says to extract the /pact/bin and change what's inside to .bat. But when I extract the folder there is a bin subfolder and a lib subfolder in the pact folder.
Should I put the pact folder in my go directory (the one in my GOPATH), or should I copy the inside of the folders and put them somewhere else? Because if I put the pact folder in my go folder, I always get the error message.
Thank you for your helpMatt (pactflow.io / pact-js / pact-go)
bin
need to be on the PATH
environment variable. The files inside bin
also need the .bat
extension, apparently.Matt (pactflow.io / pact-js / pact-go)
Should I put the pact folder in my go directory (the one in my GOPATH)No, they can go anywhere you like on your system
Matt (pactflow.io / pact-js / pact-go)
\Users\myUser\pact
then you would add the following to the PATH
variable:
\Users\myUser\pact\bin
Matt (pactflow.io / pact-js / pact-go)
Christophe Laranjo
08/23/2023, 9:34 AMMatt (pactflow.io / pact-js / pact-go)
pact-broker
what happens? If it doesn't print out a help message, the PATH is incorrectly setChristophe Laranjo
08/23/2023, 10:40 AMChristophe Laranjo
08/23/2023, 10:59 AMChristophe Laranjo
08/23/2023, 11:55 AM