npm publish 一直报错 404

 

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

  

 

上一篇:css 选择器


下一篇:css结合 内联 内部 外部