云效代码库克隆下来后,连接私有的制品仓库,执行下面命令登录时报错
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 缓存
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。