yarn报错:error An unexpected error occurred: “https://registry.yarnpkg.com/-/user/org.couchdb。。。
Yarn 报错:error An unexpected error occurred: "https://registry.yarnpkg.com/-/user/org.couchdb.user:alisone: connect ETIMEDOUT 104.16.26.35:443"
- 原因分析
- 解决方案
原因分析
在使用 yarn publish 命令发布 Generator 时报错,错误信息:
error An unexpected error occurred: “https://registry.yarnpkg.com/-/user/org.couchdb.user:alisone: connect ETIMEDOUT 104.16.26.35:443”
这是由于资源地址请求超时导致的,更换一下请求地址。
解决方案
运行命令,把资源地址设置成npm淘宝镜像
命令代码如下:
$ npm config set registry https://registry.npm.taobao.org
$ npm config set disturl https://npm.taobao.org/dist
yarn报错:error An unexpected error occurred: “https://registry.yarnpkg.com/-/user/org.couchdb。。。相关推荐
- 解决yarn错误error An unexpected error occurred: “https://registry.yarnpkg.com/hardhat: ETIMEDOUT“.
在使用yarn安装依赖包时报错,提示信息:error An unexpected error occurred: "https://registry.yarnpkg.com/hardhat: ...
- Yarn 报错:error Couldn‘t publish package: “https://registry.yarnpkg.com/ 。。。Forbidden“
Yarn 报错:error Couldn't publish package: "https://registry.yarnpkg.com/generator-alison-vue: For ...
- npm i报错npm ERR! network request to https://registry.npmjs.org/vue-router failed, reason: read ECONNR
npm i报错npm ERR! network request to https://registry.npmjs.org/vue-router failed, reason: read ECONNR ...
- conda create新建环境失败报错:An unexpected error has occurred. Conda has prepared the above report.
问题描述: 在linux中使用conda create命令新建环境报错如下: (base) [@localhost SPOT-1D-LM]$ conda create -n spot_1d_lm py ...
- npm安装 elementui 报错:404 Not Found - GET https://registry.npmjs.org/@vue%2fvue-loader-v15 - Not found
情景 在创建好的Vue项目中安装element-ui,报错信息如下: 解决办法 1.删除项目的node_modules 2.执行命令:npm i element-ui -S 3.npm install ...
- yarn安装插件报错: An unexpected error occurred: “https://registry.npmjs.org/vue-router: connect ETIMEDOUT
在安装vue-router的时候,终端报下面的错误 解决方法==>终端输入以下指令:yarn config set sass-binary-site http://npm.taobao.org/ ...
- 关于报错An unexpected error occurred: “https://registry.yarnpkg.com/react: socket hang up“
很简单 别使用 npm国际的源,使用淘宝镜像源就行了. 解决的方法:换源 npm config set registry https://registry.npm.taobao.org 和 npm c ...
- Yarn报错:error Couldn‘t publish package: “https://registry。。。 Are you logged in as the correct user?“
Yarn报错:error Couldn't publish package: "https://registry.yarnpkg.com/generator-vue: You do not ...
- 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: ...
最新文章
- 关于大型网站技术演进的思考(四)-存储的瓶颈4
- 030_html脚本
- centos6 rsync+inotify 数据同步
- 理解Linux系统中的load average(图文版)转载
- 数据加密:RSA 密钥
- 移动apn接入点哪个快_手机移动网络获取IPv6
- Linux下Weblogic创建域方法和步骤
- VB进度条 游戏血条控件
- Redis三大特殊类型介绍:GEO,hyperloglog,bitmap,Redis事务
- 计算机考研除了专业课还要学什么时候,计算机考研专业课什么时候开始看
- 手把手Django入门 初步实现管理职位后台
- 软件下载传送门(个人习惯自用记录)
- 【转】实现远程开机(电脑)的各种方法总结
- 操作系统学习(第一章————第二章)
- PhD Debate-8 | 迈向常识知识的高级语义理解
- 最新广告法规定禁用词汇,不幸被通报,官网小伙伴们记得文案检查下哈
- oracle check 日期大于,sql – 出生日期的CHECK约束?
- R语言作业:样本容量与好样本概率的关系
- 这些 JavaEE 知识你掌握了吗?
- 【转】如何让后端主动给web前端发数据