Я работаю в прокси-сети внутри нашей корпорации. У меня не было никаких проблем с установкой npm библиотечных пакетов в целом, но теперь я столкнулся с ошибкой не устанавливать последнюю версию библиотеки Pact.
Когда я запускаю команду, npm i -S @pact-foundation/pact@latest
, я получаю следующая ошибка:
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.
Любые идеи будут оценены