问题描述
云效代码库克隆下来后,连接私有的制品仓库,执行下面命令登录时报错
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
pm-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
pm-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
pm-cache\_logs\2022-12-16T06_29_32_494Z-debug-0.log
期望结果
返回用户名密码输入,及邮箱输入后,登录成功
已尝试的方法
清空npm 缓存