问题
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 会给你发送第二封验证邮件,里面有个连接,访问后等待一段时间即可。