npm adduser添加账户403错误解决方法

1 · · Sept. 12, 2022, 11:52 a.m.
Summary
先看报错信息npm ERR! code E403npm ERR! 403 403 Forbidden - PUT https://registry.npmmirror.com/-/user/org.couchdb.user:lanxuanzzz - [FORBIDDEN] Public registration is not allowednpm ERR! 403 In most cases, you or one of your dependencies are requestingnpm ERR! 403 a package version that is forbidden by your security policy, ornpm ERR! 403 on a server you do not have access to.npm ERR! A complete log of this run can be found in:npm ERR! D:\nodejs\node_cache\_logs\2022-09-12T11_43_28_087Z-debug.logPS...