Pact-js: Can't install pact in node v12 ?

Created on 4 Oct 2019  路  6Comments  路  Source: pact-foundation/pact-js

Hello, looks like I can't install pact in node v12 this morning... did I miss something ?

Software versions

  • OS: Linux Debian 9
  • Node Version: node v12.9.1 (npm v6.10.2)

Actual behaviour

npm i -S @pact-foundation/pact@latest
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/https-proxy-agent-snyk-fork - Not found
npm ERR! 404 
npm ERR! 404  'https-proxy-agent-snyk-fork@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'proxy-agent'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Steps to reproduce

mkdir test-p
cd test-p
npm init -y
npm i -S @pact-foundation/pact@latest

2019-10-04T08_04_04_576Z-debug.log

bug ready

All 6 comments

Thanks, just reproduced it myself. Weird, that dependency isn't listed, but the dependency without the snyk-fork suffix is, funnily enough, a Snyk dependency.

Google seems unhelpful here.

faced a similar issue:

yarn add @pact-foundation/pact@latest -D
yarn add v1.17.3
[1/4] Resolving packages...
error "proxy-agent-3.1.0.tgz": Tarball is not in network and can not be located in cache (["/home/petermk85/dev/web/billing-frontend/proxy-agent-3.1.0.tgz","/home/petermk85/.cache/yarn/v4/.tmp/1cb65d53db120924735197f89834781e/.yarn-tarball.tgz"])

Node: 12.7.0

So, it looks to be working today. I'm wondering if Snyk has released something. I wasn't getting this in my node_modules search the other day. I think Snyk has a vendored dependency somewhere (it's not visible on npm):

screenshot

Yeah, it was an issue with snyk - https://github.com/snyk/snyk/issues/796
Pact install works for me now.

Ok, so it was just my karma, first time I'm trying pact after thinking about it for one year :laughing:

Thank you for your time anyway !

Well, better late than never - thanks for trying us out and don't be afraid to join us at slack.pact.io

Was this page helpful?
0 / 5 - 0 ratings