共计 377 个字符,预计需要花费 1 分钟才能阅读完成。
首次注册 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
解决方案:首次注册,没有验证邮箱,去邮箱按步验证,再次公布即可解决
正文完