# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org
转载 2020-10-06 22:46:00
2320阅读
2评论
http://npm.taobao.org/# 当前命令中改变registry>npm install reactjs --registry=https://registry.npm.taobao.org --verbose# 设置npmregistry>npm config list>npm config set registryhttps://registr
原创 2016-11-11 22:01:27
1620阅读
安装CORS(cors)报错解决方案 安装CORS(cors)报错:request to https://registry.npm.taobao.org/cors failed, reason: getaddrinfo EAI_AGAIN registry.npm.taobao.org 解决方案: ...
转载 2021-11-01 19:58:00
10000+阅读
2评论
4、再次运行: npm config list,查看 registry 已经被更改为默认的 npm 公共镜像地址。
一、报错问题:提示淘宝镜像过期二、错误提示已经告诉原因是淘宝镜像过期了!其实,早在 2021 年,淘宝就发文称,npm 淘宝镜像已经从 registry.npm.taobao.org 切换到了 registry.npmmirror.com。旧域名也将于 2022 年 5 月 31 日停止服务(不过,直到今天 HTTPS 证书到期才真正不能用了)根据评论更新一下:老项目记得先删掉package-lo
npm 报错 npm ERR! request to https://registry.npm.taobao.org/three failed, reason: certificate has expired
原创 6月前
993阅读
今天,启动一个纯前端的老项目,安装依赖时报错。 npm 错误:request to https://registry.npm.taobao.org/ failed, reas
原创 5月前
4637阅读
npm ERR! request to https://registry.npm.taobao.org/create-docusaurus failed, reason: certificate has expired
原创 6月前
141阅读
npm ERR! request to https://registry.npm.taobao.org/create-docusaurus failed, reason: certificate has expired 解决办法: npm config set strict-ssl false
原创 3月前
167阅读
换华为的,否则会出问题:cnpm confg set registry https://mirrors.huaweicloud.com/repository/npm/ npm ERR! code C
原创 2月前
290阅读
error An unexpected error occurred: “https://registry.npm.taobao.org/axios: unable to verify the first certificate”.
原创 5月前
844阅读
报错 : error An unexpected erro
ios
原创 3月前
142阅读
npm-registry-nrs 是一款非常好用的 npm 镜像源管理器。只需要简单的命令就可以切换查看镜像源,并且支持增删改和测速等功能,赶快使用起来吧!
request to https://registry.npm
原创 2022-11-21 10:57:59
2571阅读
安全、稳定、reproducible projects Yarn 是一个软件包管理器,还可以作为项目管理工具。无论你是小型项目还是大
原创 4月前
354阅读
npm cache clean --force
原创 5月前
147阅读
# 显示当前镜像网址npm get registry# 使用淘宝镜像网址npm config set registry https://registry.npm.taobao.org/
原创 2022-09-05 17:17:16
1715阅读
起因 安装了node。安装了npm之后,官方的源实在是 太慢了! 看了看淘宝的npm镜像, http://npm.taobao.org/ 居然说让我再下载一个cnpm,要不然就每次都得install的时候,后面加上--registry 。。 你是在逗我么? 你能够直接看 结论 改registry仅适
转载 2017-06-23 15:08:00
404阅读
2评论
taobao提供的国内镜像npm源很好,速度相当快。在npminstall时使用此源,依赖包加载速度相当快,而且不会被墙掉。源地址:https://registry.npm.taobao.org设置方法如下(win10):1、打开cmdconsole;2、输入npmconfigsetregistryhttps://registry.npm.taobao.org至此,设置完毕,我们还需要验证一下新设
原创 2017-12-03 23:47:33
6988阅读
【代码】npm 设置taobao镜像源。
原创 2023-09-13 10:25:28
81阅读
  • 1
  • 2
  • 3
  • 4
  • 5