首页 > 其他分享 >yarn 失败

yarn 失败

时间:2024-08-20 14:04:24浏览次数:6  
标签:info ... There yarn 失败 registry your

1、输入yarn后,下载失败报错

connect ETIMEDOUT 10.136.33.5:8081
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
[1/4] Resolving packages...
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error Error: connect ETIMEDOUT 10.136.33.5:8081
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)

2、检查淘宝镜像 yarn config list

3、设置淘宝镜像  yarn config set registry https://registry.npmmirror.com/

yarn config set registry https://registry.npmmirror.com/

4、yarn install还是失败

error Error: connect ETIMEDOUT 10.136.33.5:8081
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

 5、取消SSL连接:yarn config set strict-ssl false

6、yarn 下载到一半还是失败

info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error Error: https://registry.npmmirror.com/ant-design-vue/-/ant-design-vue-1.7.8.tgz: unexpected end of file
at Zlib.zlibOnError [as one rror] (zlib.js:180:17)
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

7、重新设置淘宝镜像  npm config set registry http://registry.npmjs.org(这一步应该没用。。。)

8、yarn  下载成功

 

标签:info,...,There,yarn,失败,registry,your
From: https://www.cnblogs.com/Esther-yan/p/18369353

相关文章

  • Acrobat DC安装报错1603,Microsoft Visual C++2013(x64)失败
    之前顺利安装过AcrobatDC,但可能因为自动更新了,导致让我重新登录才能使用,无法再次破解。于是我卸载后重新安装,发现提示MicrosoftVisualC++2013(x64)运行安装失败。我也在网上找了教程,在Adobe官网上下载了MicrosoftVisualC++2013(x64)进行自安装,安装后也可以在设置——应......
  • 【YashanDB知识库】生成迁移报告失败,"报错未知类型错误异常:"
    【标题】YMP迁移【问题分类】迁移报告【关键字】迁移报告、未知类型错误异常【问题描述】下载迁移报告时报错“未知类型错误异常:”,一长串英文日志报错:【问题原因分析】java版本不对,ymp仅支持java8和11版本,用户环境用的21版本。【解决/规避方法】将java版本更新为8或者1......
  • 详解修复dll错误解决红警启动失败的问题
    《红色警戒》是一款具有深远影响力的即时战略游戏系列,不仅在游戏玩法上吸引了众多玩家,其剧情设定也颇为精彩,为玩家营造了一个充满紧张和刺激的战争世界。在玩家在启动游戏《红警》时,遇到一个错误提示:“d3dx9_35.dll文件丢失”。这个DLL文件是DirectX9的一部分,主要负责处理游......
  • windows系统安装pygraphviz失败解决
    当使用到图形化包时,需要引入pygraphviz库,`pipinstallgraphviz`报错building'pygraphviz._graphviz'extensioncreatingbuild\temp.win-amd64-cpython-311pygraphviz/graphviz_wrap.c(9):warningC4005:“SWIG_PYTHON_STRICT_BYTE_CHAR”:宏重定义pygraphviz/gra......
  • 无网卡Ubuntu通过网线有线接入Windows主机子网,以太网子网显示“未识别的网络”,且无Int
    因为工作需要,开始在Ubuntu主机上部署CAPEv2沙箱草单的是,我的Ubuntu主机没有网卡。于是选择通过一根网线将Ubuntu与另一台Windows主机相连,使Ubuntu成为Windows的子网从而可以上网首先常规操作:控制面板→网络和Internet→网络和共享中心→更改适配器设置,进入如下界面右键WLAN→......
  • 安装cartopy失败的处理过程,尚在等待中,成功与否不知。
    Win7,Python3.8,sublimetext,运行(build)wind-draw.py提示:ModuleNotFoundError:Nomodulenamed'cartopy'。搜索,在csdn上看到:cartopy安装保姆教程--三天的试错,终于成功了及【Cartopy】安装失败解决方案,一定可行参照安装。查:piplist,发现有pillow,无shapely、pyproj、py......
  • 企业微信调用扫一扫接口安卓手机正常,iOS失败的解决办法
    ​1.在使用企业微信自建应用调用扫一扫接口的时候,安卓手机调用摄像头、扫码结果都可以正常使用,但是苹果手机的摄像头都调用不了,将返回参数打印出来也都是成功的。一直以为是代码哪里有错,才出现系统不兼容的问题,网上也找了好多解决方案,都没有效果,后来才找到问题所在。​​2.这......
  • make vic_image 失败
    make步骤如下:cdVIC/vic/drivers/imagednfinstallopenmpidnfinstallopenmpi-devel.x86_64moduleloadmpi/openmpi-x86_64dnfinstall-ynetcdf-develdnfinstall-ynetcdfnetcdf-devel报错如下:/usr/bin/ld:/tmp/ccaypzjZ.o:/home/VIC/vic/drivers/image/../../......
  • Win 11 Postgresql 16 安装失败解决方案
    主要遇到以下两个问题一个是在安装时报错Problemrunningpost-installstep.InstallationmaynotcompletecorrectlyThedatabaseclusterinitialisationfailed.一个是在初始化时报错Theprogram"postgres"wasfoundby"initdb"butwasnotthesameversionasin......
  • redis启动失败报错:Job for redis.service failed because the control process exited
    问题描述启动报错如下:查看redis的启动信息:systemctlstatusredis.service或journalctl-xe由提示可以看不是配置文件,内存等原因造成的。解决方案原因:linux的一个安全子系统(SELinux)阻止了服务的启动。查看SELinux的工作模式cat /etc/selinux/configSELinu......