Hi,
I'm trying PactFlow on my local machine. But I'm not able publish my contract. The publish command: npm run pact:publish, throws error '.' is not recognized as an internal or external command
m
Matt (pactflow.io / pact-js / pact-go)
04/24/2023, 10:40 PM
Can you please provide a little more info? It sounds like the way you're invoking the command on windows is wrong
v
vandana wadhwani
04/25/2023, 1:22 AM
So I tried opening the solution in vs code. And I ran the command in the terminal of vs code.
I've cloned the git hub repo for 5-minute guide on my local. I've created a pactflow broker using the plug and play broker option provided in that guide.
I'm running these steps in the terminal of visual studio code:
1. npm run test:consumer (it worked great)
2. npm run pact:publish
This throws an error
'.' is not recognized as an internal or external command
I hope this helps. Let me know if any other information is needed.