I am working in a proxy network within our corporation. I have not been getting any problems with installing npm library packages in general but now am faced with the error of not being install the latest Pact library.
When I run the command, npm i -S @pact-foundation/pact@latest
, I get the following error:
Installing Pact Standalone Binary for darwin.
Downloading Pact Standalone Binary v1.73.0 for platform darwin from https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.73.0/pact-1.73.0-osx.tar.gz
Error: Error while installing binary: Postinstalled Failed Unexpectedly: Error downloading binary from https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.73.0/pact-1.73.0-osx.tar.gz: Error: Error while installing binary: Error: self signed certificate in certificate chain
at throwError (/Users/13finsoeifnaos/Documents/something/node_modules/@pact-foundation/pact-node/standalone/install.js:28:11)
at /Users/13finsoeifnaos/Documents/something/node_modules/@pact-foundation/pact-node/standalone/install.js:298:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pact-foundation/pact-node@10.2.4 postinstall: `node postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pact-foundation/pact-node@10.2.4 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Any insights would be appreciated
Aucun commentaire:
Enregistrer un commentaire