https://pact.io logo
#pact-js
Title
# pact-js
r

Rafael Moral

05/03/2022, 9:43 AM
Hello! I have seen that pact js library does not work with node 18. Do you know if there are plans for fixing it?
m

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

05/03/2022, 9:48 AM
Good call out. I’ll update the build now to test 18.x
what’s the issue though?
r

Rafael Moral

05/06/2022, 6:09 AM
Copy code
Error: connect ECONNREFUSED ::1:8123
      at TCPConnectWrap.afterConnect
It seems to be related with test provider, also it does not intercept the request. All works perfectly on node 16
m

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

05/06/2022, 6:22 AM
are sure it relates to v18? What does debug level logs show?
4 Views