Web login not supported
npm config set registry http://repo.nexus.cn/repository/npm-public/
npm config get registry
npm login --auth-type=legacy
[root@localhost ~]# npm login --registry=http://repo.nexus.cn/repository/npm-public/ -u admin -p nexus@A -e admin@example.org
npm WARN invalid config before="admin@example.org" set in command line options
npm WARN invalid config Must be one of: null, valid Date string
npm notice Log in on http://repo.nexus.cn/repository/npm-public/
npm ERR! code ENYI
npm ERR! Web login not supported
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-12-11T05_47_32_619Z-debug-0.log
npm login --auth-type=legacy
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 Eternal Night
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果