https://pact.io logo
#general
Title
# general
m

Matthew Churcher

03/29/2022, 3:00 PM
I'm having trouble with the bi-direction coding kata..
Step5 - npm run deploy
No environment found with name 'production'. Available options: <none found>
y

Yousaf Nabi (pactflow.io)

03/29/2022, 3:23 PM
Hi @Matthew Churcher, Have you just created a Pactflow broker, or have you had one a while? You can create environments via the Pactflow UI https://docs.pactflow.io/docs/user-interface/settings/environments/ I saw a similar issue with an Broker instance I have owned for many years now, when I first came to run the workshops. noted here in an issue.
🙌 1
m

Matthew Churcher

03/29/2022, 4:03 PM
I don't appear to be able to create environments via the ui or api.. may be that's the problem 🤔 API returns environment already exists but they don't ... 🙀
i think it's permissions, i signed in using sso and ended up with fewer rights
☝️ 1
m

Matt (pactflow.io / pact-js / pact-go)

03/30/2022, 7:05 AM
Sounds like it Matthew. I'll make a note to update the docs for minimum role/permissions
🙌 1
m

Matthew Churcher

03/30/2022, 2:55 PM
Thanks, I did successfully complete the workshop. I left a couple of snags in github but overall the tutorial was very good.
🙏 1
m

Matt (pactflow.io / pact-js / pact-go)

03/31/2022, 1:14 AM
Awesome, thanks!
3 Views