Saber3 执行 yarn install 报错

Blade 未结 2 940
wangxu752139397
wangxu752139397 2024-01-22 17:20

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


2条回答
  •  univer
    univer (楼主)
    2024-06-04 14:43

    请问,saber,vue2的版本怎么配置这个令牌,工程里没有 .npmrc这个文件

提交回复