npm publish 一直報錯 404


 在封裝 zswui  react ui 組件庫的時候,嘗試了下 github的 packages 包設置,然后就給自己挖坑了。

zswui   這是一個從零開始配置,實現組件開發測試的項目。

因為設置了 gihub 的 packages 配置,去掉就好

"publishConfig": {
  "registry": "https://npm.pkg.github.com/"
},

 

報錯信息如下

ERR! code E404
npm ERR! 404 Not Found - PUT https://npm.pkg.github.com/zswui
npm ERR! 404 
npm ERR! 404  'zswui@0.0.41' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM