ulixee/secret-agent

failed to install `secret-agent` on Mac

icesmartjuan opened this issue · 0 comments

Thanks for sharing.

It failed to install the package secret-agent with npm or yarn command, caused by replay-1.6.4-mac.tar.gz downloading failure, but I can download https://github.com/ulixee/secret-agent/releases/download/v1.6.4/replay-1.6.4-mac.tar.gz directly without problem. Anyone encountered such issue?

npm ERR! code 1
npm ERR! path path/test/node_modules/@secret-agent/replay
npm ERR! command failed
npm ERR! command sh -c node install
npm ERR! ERROR downloading needed Secret Agent library https://github.com/ulixee/secret-agent/releases/download/v1.6.4/replay-1.6.4-mac.tar.gz Error: socket hang up
npm ERR!     at connResetException (node:internal/errors:691:14)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:23)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNRESET'
npm ERR! }
npm ERR! Error: socket hang up
npm ERR!     at connResetException (node:internal/errors:691:14)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:23)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21)```