npm login 登录失败,报E500 Internal Server Error - PUT https://registry.npm.taobao.org/-/user/org.couchdb
报错信息:
npm ERR! code E500
npm ERR! 500 Internal Server Error - PUT https://registry.npm.taobao.org/-/user/org.couchdb.user:xxx
解决方法:
不是账号密码问题,只是需要删除本地的~/.npmrc文件,然后使用npm adduser,实际原因应该是你在 .npmrc 中配置了 registry,登录时必须切回 npm.js 的源
sudo rm .npmrc
用npm adduser登录,logged in就代表登录成功了
Logged in as xxx on https://registry.npmjs.org/.
如果还不成功
1,配置npm包地址
npm config set registry https://registry.npmjs.org/
2,检查地址
curl https://registry.npmjs.org/
3,清楚npm缓存
npm cache clean --force
最后再用npm adduser登录即可
查看是否已经登录,执行npm who am i即可:
npm who am i
npm login 登录失败,报E500 Internal Server Error - PUT https://registry.npm.taobao.org/-/user/org.couchdb相关推荐
- yarn安装依赖包报错 error An unexpected error occurred: “https://registry.npm.taobao.orgnpm/element-ui: get
yarn安装依赖包报错,error An unexpected error occurred: "https://registry.npm.taobao.orgnpm/element-ui: ...
- yarn install出现or An unexpected error occurred: “https://registry.npm.taobao.org/avue-plugin-ueditor
yarn install 出现 error An unexpected error occurred: "https://registry.npm.taobao.org/avue-plug ...
- Spring Boot连接MySQL报错“Internal Server Error”的解决办法
报错信息如下: {timestamp: "2018-06-14T03:48:23.436+0000", status: 500, error: "Internal Ser ...
- cnpm发布包后下载失败,Install fail! Error: GET https://registry.npm.taobao.org/xxx response 404 status
最近写了一个vue插件,发布到npm后,准备测试一下看是否能成功下载使用,使用cnpm一直下载不成功,一直报404错误: 于是换为npm i nav-follows -S,也是报错: 然后也清除了np ...
- yarn npm 下载依赖报错 An unexpected error occurred: “https://registry.npmjs.org/less
使用yarn和npm下载依赖的时候总是报错,如下 提示是下载源的问题 // 查看源yarn config get registry// yarn修改源的方法yarn config set regist ...
- 关于报错An unexpected error occurred: “https://registry.yarnpkg.com/react: socket hang up“
很简单 别使用 npm国际的源,使用淘宝镜像源就行了. 解决的方法:换源 npm config set registry https://registry.npm.taobao.org 和 npm c ...
- npm项目环境配置时出现报错:Not Found - GET https://registry.npm...
现象: 原因: npm命令不符合规范.下载源问题 解决: 一.查看命令是否正确: 如上图:npm install -g umi-dva-app 不存在该npm命令,应改为npm install -g ...
- Cobbler 登录web界面提示报错“Internal Server Error”
在访问cobbler web界面到时候出现以下提示 ssl的报错日志如下: [root@Cobbler ~]# tail -f /var/log/httpd/ssl_error_log [Mon Ja ...
- Cobbler Web界面提示报错 “Internal Server Error”
问题: 在访问cobbler web界面到时候出现以下提示 解决步骤: 1. SSL 的报错日志如下: [root@localhost ~]# tail -f /var/log/httpd/ssl_e ...
最新文章
- 如何在Objective C中声明Block?
- 重磅消息:Redis 6.0.0 稳定版发布
- mysql 数据库存储表情
- springboot 双缓存设计与使用
- 台积电:如果不能向华为销售芯片,其他订单可快速取代华为空缺
- [转载] python while循环 打印菱形
- qt实现百度首页(仅界面,功能未实现)
- RS编码过程通俗理解
- vue2学生签到管理系统案例
- 单点登录原理与简单实现
- 等保2.0 三级检查明细
- 各国货币符号(Copy的)
- 计算机英文电子书分享
- 【记一下1】2022年6月29日 哥和弟 双重痛苦
- luoguP2123 皇后游戏(贪心)
- 巧用Hosts文件 杀掉麻烦的IE浏览器弹出窗口
- 同建金融IT新生态——令克软件富途证券达成战略合作
- 霍兰德人格分析雷达图
- 从面试官的视角来提升面试者的必须具备的IT技能
- 画流动虚线框(java)