Saber3 执行 yarn install 提示未授权

Blade 未结 3 623
Christy
Christy 剑童 2024-04-08 17:16

.npmrc文件已经按手册进行配置,但还是 yarn install 失败:

PS E:\bdie\Saber3> yarn install

yarn install v1.22.18

[1/4] Resolving packages...

[2/4] Fetching packages...

[----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/255 


error An unexpected error occurred: "https://center.javablade.com/api/packages/blade/npm/%40saber%2Fnf-design-base-elp/-/1.2.0/nf-design-base-elp-1.2.0.tgz: Request failed \"401 Unauthorized\"".

info If you think this is a bug, please open a bug report with the information provided in "E:\\bdie\\Saber3\\yarn-error.log".

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


请帮忙看下要如何解决,在线等,多谢。

3条回答
  • token检查下对不对

    0 讨论(0)
  • 2024-04-09 14:34

    我也遇到了这个问题,问题解决了没?是什么原因造成的

    0 讨论(0)
  • 2024-04-09 14:36

    创建新的token,token权限都选上,然后删掉nodr_modules文件家再执行yarn install

    0 讨论(0)
提交回复