pact-foundation / jest-pact

A Pact adaptor for to allow you to easily run tests with Jest
https://pact.io
MIT License
80 stars 12 forks source link

"jest-pact": "0.9.0-beta.v3" not compatible "@pact-foundation/pact": "10.0.0-beta.45", #204

Closed schowave closed 3 years ago

schowave commented 3 years ago

When I want to update the pact dependencies in my project from 10.0.0-beta.44 to 10.0.0-beta.45, I get an error while npm install.

I am currently using "jest-pact": "0.9.0-beta.v3",

Can someone else verify that issue?

TimothyJones commented 3 years ago

What error do you get?

schowave commented 3 years ago

It is the same error as reported here: https://github.com/nodejs/node-gyp/issues/2399 and it should be fixed with the PR from here: https://github.com/nodejs/gyp-next/pull/121 I get the error only under windows.

It as actually not a problem of jest-pact but of pact-js 10.0.0-beta.45 upwards.

Solution: When I add node-gyp as devDependency in Version 7.1.0 the build will work again. "node-gyp": "7.1.0",

schowave commented 3 years ago

I managed to get it working by deleting my local pnpm store...