https://registry.npm.taobao.org/@smallwei%2favue: tunneling socket could not be established, cause=c
前端运行项目时报错:
error An unexpected error occurred: "https://registry.npm.taobao.org/@smallwei%2favue: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:8080".
尝试过
切换淘宝源:yarn config set registry https://registry.npm.taobao.org/
删除代理配置:npm config set http-proxy nullnpm config rm https-proxyyarn config delete proxynpm config rm proxy
删除node-module包:rimraf node_modules
清除缓存:npm cache clean --force npm cache verify
每一个操作过后重新npm install或者yarn都不行,还是会报错, 用npm install不报错,但在npm run dev的时候会报错:
yarn 的时候会报错:
在上述方法都试过之后,我又尝试了一遍 yarn install
, 然后就可以成功运行了。
PS: 我不知道出错的是什么,只知道代理问题,上述方法不知道是哪个起了作用,可以都尝试一下,最后,希望每次尝试后用npm install 和yarn install 都试一下能不能运行
https://registry.npm.taobao.org/@smallwei%2favue: tunneling socket could not be established, cause=c相关推荐
- 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 ...
- 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: ...
- 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/-/ ...
- npm install -g cnpm --registry=https://registry.npm.taobao.org报警告
配置环境 npm报警告:npm WARN deprecated request@2.88.2解决办法 1. npm install npm@4.6.1 -g 2. npm config set reg ...
- npm install一直报错equest to https://registry.npm.taobao.org/underscore failed, reason: Client network
在这里插入图片描述 解决办法: 解决方案: 1.执行: npm config get proxy npm config get https-proxy 如果返回值不为null,继续执行: (这一步很重 ...
- request to https://registry.npm.taobao.org/jsprim failed, reason: connect ETIMEDOUT 错误解决方案
安全.稳定.reproducible projects Yarn 是一个软件包管理器,还可以作为项目管理工具.无论你是小型项目还是大型单体仓库(monorepos),无论是业余爱好者还是企业用户,Ya ...
- npm install -g cnpm --registry=https://registry.npm.taobao.org (cnpm的安装)
安装npm及cnpm(Windows) [工具官网] Node.js : http://nodejs.cn/ 淘宝NPM: https://npm.taobao.org/ [安装步骤] 一.安装nod ...
- cnpm发布包后下载失败,Install fail! Error: GET https://registry.npm.taobao.org/xxx response 404 status
最近写了一个vue插件,发布到npm后,准备测试一下看是否能成功下载使用,使用cnpm一直下载不成功,一直报404错误: 于是换为npm i nav-follows -S,也是报错: 然后也清除了np ...
- 【npm】tunneling socket could not be established
vscode创建react项目中npm淘宝源突然tunneling socket could not be established, 使用命令npm i -D create-react-app出现 i ...
最新文章
- java集合的加减_在JAVA中,对List集合的加减操作
- Tom's Classes
- ElementUI中使用el-time-picker向SpringBoot传输24小时制时间参数以及数据库中怎样存储
- 一文带你了解java面向对象的三大特性:继承、封装、多态
- SpringBootAdmin监控信息讲解
- [笨木头FireFly 02]入门篇2_客户端发送请求,服务器处理请求
- 05_视图控制器_1
- python编写接口自动化脚本_简单的python http接口自动化脚本
- 理解 LruCache 机制
- [学习整理]eclipe/MyEclipse:重要的快捷键
- 25个深度学习开源数据集
- windows系统bat批处理 执行后 隐藏批处理本身
- 台达伺服b3参数_恩阳台达B3系列伺服安装
- 基于Python的仓库库存管理系统的设计和实现
- python画折线统计图画区间_matplotlib-折线图、散点图
- 北京云栖AI大热 驻云CloudCare揭云服务新趋势
- 东南大学计算机esl排名,不是江苏考生,你不会知道,这所被戏称福建的“三本”,有多难考...
- OpenGL ES EAGLContext 和 EGLContext
- 群晖使用Linux命令,群晖216++常用命令及dokcer使用笔记「持续更新」
- 链接服务器“(null)“的 OLE DB 访问接口 “SQLNCLI10“ 返回了消息 “客户端无法建立
热门文章
- [附源码]JAVA+ssm计算机毕业设计办公用品管理系统(程序+Lw)
- WeGame退市?中国“steam”自断一臂,国内游戏行业又该去向何方
- android createbitmap,慎用Bitmap.createBitmap
- allegro 17.2版本 再画内电层使用正片的时候,内层孔与内层铜不会避让
- 【linux】循序渐进学运维-mkdir
- 新冠感染后,我的痊愈过程
- [渝粤教育] 中国地质大学 控制系统数字仿真 复习题
- 将html转换为chm格式 (主要是将javadoc等文档制作为api.chm)及chm转换html
- jQuery学习总结第三天、attr函数与removeAttr函数、prop、 removeProp函数、addClass函数和removeClass函数、html函数和text函数
- c++11 多国语言字符串处理