1、未切换镜像源 npm config get registry // 查看当前镜像源 npm config set registry=http://registry.npmjs.org // 切回到npmjs源 npm config set registry http://registry.npm.taobao.org // 发布完再切回来 2、注册后未进行邮箱验证 3、文件名重复 npm init // 重新生成文件内容 4、用户名密码输入有误