Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm publish error #9

Open
sumaolin opened this issue Apr 30, 2019 · 0 comments
Open

npm publish error #9

sumaolin opened this issue Apr 30, 2019 · 0 comments

Comments

@sumaolin
Copy link
Owner

npm publish error

国内使用了淘宝的 registry=https://registry.npm.taobao.org/ 所以登录npm login 或者 npm publish 都会返回带 https://registry.npm.taobao.org/ 提示的错误,切换到 npm config set registry https://registry.npmjs.org/ 在操作就OK了,不过操作完了还得还原回来,还犯了拼写错误把registry 写成了register

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant