开发者社区 > 云效DevOps > 正文

私有仓库登录报错 code ENYI

问题描述

云效代码库克隆下来后,连接私有的制品仓库,执行下面命令登录时报错

npm login
npm notice Log in on https://packages.aliyun.com/xxxxxxxxx/npm/npm-registry/
npm ERR! code ENYI
npm ERR! Web login not supported

npm ERR!     C:\Users\simon.hu\AppData\Local\npm-cache\_logs\2022-12-16T06_22_09_631Z-debug-0.log
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR!     https://www.npmjs.com/forgot
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR!     npm login

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\simon.hu\AppData\Local\npm-cache\_logs\2022-12-16T06_27_38_235Z-debug-0.log
PS D:\code\pg-digital-twin\data-center> npm get registry
https://packages.aliyun.com/xxxxxxxxx/npm/npm-registry/
PS D:\code\pg-digital-twin\data-center> npm login       
npm notice Log in on https://packages.aliyun.com/xxxxxxxxx/npm/npm-registry/
npm ERR! code ENYI
npm ERR! Web login not supported

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\simon.hu\AppData\Local\npm-cache\_logs\2022-12-16T06_29_32_494Z-debug-0.log

期望结果

返回用户名密码输入,及邮箱输入后,登录成功

已尝试的方法

清空npm 缓存

展开
收起
游客u2qh3r6zb6dyg 2022-12-16 14:36:24 305 0
1 条回答
写回答
取消 提交回答
  • 密码错误?

    2023-01-31 11:00:53
    赞同 展开评论 打赏

云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载