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上一搜是有人推送過的,現在換了名字就可以正常推送了