npm publish 一直报错 404

纵然是瞬间 提交于 2019-12-05 09:35:29

 

因为设置了 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

  

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!