npm login报错
今天发布npm包时报错:409 Conflict - PUT https://registry.npm.taobao.org/-/user/org.couchdb.user:xxx - [conflict] User xxx already exists这是由于本地使用了国内的淘宝镜像引起的。解决办法:1、不实用淘宝镜像2、登陆时指定官方镜像npm login --registry http://registry.npmjs.orgnpm publish --registry http://r