error An unexpected error occurred: https://registry.npmmirror.com
一、背景
使用yarn在vscode终端执行yarn
二、遇到的问题
报错:
error An unexpected error occurred: "https://registry.npmmirror.com/@icon-park/vue-next/-/vue-next-1.4.2.tgzinfo If you think this is a bug, please open a bug report with the information provided in "E:\\college\\bloinfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
yarn run v1.22.19
三、解决办法
方法1:
如使用yarn命令:
查看:
yarn config get registry
设置淘宝镜像:
yarn config set registry https://registry.npm.taobao.org
效果图:
如使用mpm命令:
查看
npm config get registry
切换淘宝镜像
npm config set registry https://registry.npm.taobao.org
附件:
参考1: yarn : 无法将“yarn”项识别为 cmdlet、函数、脚本文件或可运行程序的名称 (推荐)
参考2:error An unexpected error occurred: “https://registry.npmmirror.com/moment: tunneling socket could
error An unexpected error occurred: https://registry.npmmirror.com相关推荐
- 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报错: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.us ...
- error An unexpected error occurred: “https://registry.npmjs.org/d3-geo-proje
error An unexpected error occurred: "https://registry.npmjs.org/d3-geo-proje yarn install 报错 大概 ...
- 解决yarn错误error An unexpected error occurred: “https://registry.yarnpkg.com/hardhat: ETIMEDOUT“.
在使用yarn安装依赖包时报错,提示信息:error An unexpected error occurred: "https://registry.yarnpkg.com/hardhat: ...
- 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 ...
- error An unexpected error occurred “httpsregistry.npmjs.orgd3-geo-proje
error An unexpected error occurred: "https://registry.npmjs.org/d3-geo-proje yarn install 报错 大概 ...
- yarn 出现error An unexpected error occurred错误的解决办法
国内使用npm安装点东西真是太恶心了, 动不动就报错,又是翻墙,又是切换淘宝镜像,又是使用cnpm,npx的各种花式操作,最近看到一个npm的替代品:yarn,安装之后本以为可以畅快的安装packag ...
- 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 ...
- 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 ...
- npm install XXX 报错:error An unexpected error occurred:
npm install XXX 报错:error An unexpected error occurred: "EPERM: operation not permitted 我的解决办法是: ...
最新文章
- 简单几行程序轻松分析Excel
- php注解rbac,PHP的RBAC权限详解
- php里面电话验证码,PHP的中问验证码
- 在OpenShift上将JMS与JBoss A-MQ结合使用。 从远程客户端和加密中学到的经验教训。...
- 前端学习(2178):vue-router得参数传递二
- 如何使用网上下载的arcgis工具箱,报错汇总
- from mysql partition select_通过分区(Partition)提升MySQL性能[原创翻译]
- bzip2recover cat chattr chgrp chmod
- hdu 变形课 1181 这道题数据真实若爆了
- JDK8 有关集合部分常用的语法
- matlab多元正态性检验,Matlab正态分布性检验
- Pr入门系列之十四:处理音频
- 如何在SSH项目中布置多个定时任务?
- 【Linux集群教程】11 集群监控 - Zabbix 搭建
- 高中数学怎么学好我的数学学习方法
- G6-Editor 编辑器入门使用教程
- Java jdk 在线文档(可搜索类)
- 苹果笔记本有uefi启动吗_如何更换Windows 10的启动logo
- 正确使用数字化仪前端信号调理功能
- P3386 【模板】二分图最大匹配
热门文章
- 生成对抗网络GAN简单理解
- 浪潮服务器进银行采购项目,浪潮服务器入围交行2015年集采
- 错误:could not initialize proxy - no Session
- 【2023.7.5 学习进度汇报】
- 中职计算机专业第一年开什么课程,中职学校计算机专业课程教学(共2359字).doc...
- 什么是JWT?JWT详解
- 关于用AI搞金融这件事,瞎BB吹上天没用,听听实战的人怎么说
- [论+1]【CAFGCN】Cross-Attention Fusion Based Spatial-Temporal Multi-Graph Convolutional Network for
- THUCNews学习(CNN模型)
- 设计师能否在设计中熟练运用钣金工艺