npm 发布包报错:you must verify your email before publishing a new package: https://www.npmjs.com/email-ed

问题

npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT http://registry.npmjs.org/light-mvvm - you must verify your email before publishing a new package: https://www.npmjs.com/email-edit
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!     F:\node\rely\node_cache\_logs\2020-02-07T09_47_00_449Z-debug.log

这是由于第一次注册,没有验证邮箱导致的。

打开你所注册时的邮箱,里面会有npm发来的邮件,按照提示做即可。
在这里插入图片描述
点击第一封时,npm 会给你发送第二封验证邮件,里面有个连接,访问后等待一段时间即可。

发布了256 篇原创文章 · 获赞 403 · 访问量 80万+

猜你喜欢

转载自blog.csdn.net/weixin_44198965/article/details/104213438