Saber3 执行 yarn install 提示未授权

Blade 未结 3 640
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条回答
  •  admin
    admin (楼主)
    2024-04-09 14:36

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

提交回复