Hi folks, we’re running into an issue on CI when i...
# pact-js
g
Hi folks, we’re running into an issue on CI when installing pact via Yarn:
Copy code
Error: Error while installing binary: Postinstalled Failed Unexpectedly: Error: Error while installing binary: Extraction failed for /root/project/node_modules/@pact-foundation/pact-node/standalone/pact-1.88.81-linux-x86_64.tar.gz: Error: Error while installing binary: Checksum rejected for file 'pact-1.88.81-linux-x86_64.tar.gz' with checksum pact-1.88.81-linux-x86_64.tar.gz.checksum
    at throwError (/root/project/node_modules/@pact-foundation/pact-node/standalone/install.js:42:11)
    at /root/project/node_modules/@pact-foundation/pact-node/standalone/install.js:335:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
info Visit <https://yarnpkg.com/en/docs/cli/install> for documentation about this command.

Exited with code exit status 1
Any clues why the checksum might be getting rejected?
m
Corporate proxy seems likely
g
Makes sense!
Thank you
m
Was that it?
One way to quickly test is trying installing off network or on a non work laptop
g
I don’t know if it was, this was on Circle CI, maybe something with their network. Re-running the job fixed it eventually
🤷‍♂️ 1