npm ERR! code E403
npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/ui-com - You do not have permission to publish “ui-com”. Are you logged in as the correct user?
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! /Users/zhangxiaoning/.npm/_logs/2020-09-09T06_19_49_556Z-debug.log
- 最近往npm上发包,但是发版时总是推送不上去。检查了各种问题,最后发现是自己起的包名字,再npm上已经存在了,所以推送不上去了,换个包名字就可以了
- 之前起的是ui-com,在npm上一搜是有人推送过的,现在换了名字就可以正常推送了