1.创建令牌,全部勾选
2. .npmrc 已编辑
@saber:registry=https://center.javablade.com/api/packages/blade/npm/
//center.javablade.com/api/packages/blade/npm/:_authToken=xxxxxxx
3.yarn install
报错:
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.npmjs.org/element-plus/-/element-plus-2.3.5.tgz: connect ETIMEDOUT 104.16.2.35:443".
info If you think this is a bug, please open a bug report with the information provided in "/Users/colin/scstWeb/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
error https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz: connect ETIMEDOUT 104.16.2.35:443
扫一扫访问 Blade技术社区 移动端