1.0.0 • Published 1 year ago

itec-element-plus-ui v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

添加账户

npm adduser

发布npm包

npm publish --access public

发布npm常见错误

npm ERR! code E403
npm ERR! 403 Forbidden - PUT https://registry.npm.taobao.org/lld-npm-demo - no_perms

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/better/.npm/_logs/2019-01-24T02_08_54_914Z-debug.log
解决方案:

// 检查仓库是否被设成了淘宝镜像库(https://registry.npm.taobao.org/)
npm config get registry

// 如果设置了淘宝镜像,执行以下命令
npm config set registry=https://registry.npmjs.org

// 解决问题后重新发布
npm publish --access public

// 发布成功以后,在设会淘宝镜像
npm config set registry=https://registry.npm.taobao.org/