3

首次注册npm账户,发布npm包报错

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/lanke-template-h5 - Forbidden
npm ERR! 403 In most cases, you or one of your dependencies are requesting
npm ERR! 403 a package version that is forbidden by your security policy.

npm ERR! A complete log of this run can be found in:
npm ERR!     D:\NodeJS\node_cache\_logs\2020-11-27T03_42_41_070Z-debug.log

解决方案:首次注册,没有验证邮箱,去邮箱按步验证,再次发布即可解决


风一样的六六哥
50 声望3 粉丝

今是昨非,来者可追~