[Bug]: fail download package with npm install and yarn add
ushiii111798 opened this issue · comments
Version
latest
Steps to reproduce
- try install ts-jest package with npm or yarn
- It shows error while resolving packages (
Expected behavior
should be install latest package otherwise, if version specified, specific version should be installed.
Actual behavior
shows 'There appears to be trouble with your network connection. Retrying...' and fails
Debug log
yarn add ts-jest
yarn add v1.22.19
[1/4] 🔍 Resolving packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.yarnpkg.com/ts-jest: ESOCKETTIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/brianhong/Desktop/Development/Repos/ONF/ONF-server/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Additional context
No response
Environment
System:
OS: macOS 13.1
CPU: (8) arm64 Apple M1 Pro
Binaries:
Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.19.0/bin/yarn
npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm
npmPackages:
jest: 29.3.1 => 29.3.1
This is either npm issue or internet issue, it’s not related to the package.