Hi guys, I'm having a strange problem in my projec...
# pact-js
c
Hi guys, I'm having a strange problem in my project, when I run my tests locally using yarn test they pass correctly, locally my machine is a macOs, when I go to build on my treadmill which uses a linux alpine node image the following error happens , Has anyone ever experienced this?
y
Unfortunately Alpine isn’t officially supported in pact-js atm, you’ll need to use a debian based image (with glibc, not musl basically) https://docs.pact.io/docker#alpine-linux There has been some workarounds listed in this thread https://docs.pact.io/implementation_guides/javascript/docs/troubleshooting#unable-to-run-tests-in-alpine-linux but generally not recommended,
c
tks
m
when I go to build on my treadmill
treadmill, I’ve not seen/heard of this before. Mind sharing a link? (I tried googling but all I got was…treadmills)
c
In this case, the mat would be the project pipeline where we are using pact, so to build the node application we use the alpine linux image
@Yousaf Nabi (pactflow.io) i found this image FROM frolvlad/alpine-glibc:latest, this work with pact-js-core
🙌 1
m
Thanks Charlan. I’m still confused by the word treadmill in the above - is that a saying for a CI/CD pipeline, a tool or something else (this is purely for my interest)