Npm 使用 Nexus 仓库的登录时候出现授权的问题

例如,我们在 npm 登录 Nexus 的仓库的时候提示错误如下:

npm ERR! code E401
npm ERR! Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager"

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersYuChengHuAppDataLocal
pm-cache_logs2022-10-26T20_09_51_660Z-debug-0.log

问和解决

上面的问题在于 Nexus 的 realm 配置。

把 Nexus 的 NPM 配置移动到右侧即可。

展开阅读全文

页面更新:2024-05-15

标签:仓库   提示   错误

1 2 3 4 5

上滑加载更多 ↓
推荐阅读:
友情链接:
更多:

本站资料均由网友自行发布提供,仅用于学习交流。如有版权问题,请与我联系,QQ:4156828  

© CopyRight 2008-2024 All Rights Reserved. Powered By bs178.com 闽ICP备11008920号-3
闽公网安备35020302034844号

Top