美文网首页
npm 配置淘宝镜像

npm 配置淘宝镜像

作者: owlcity | 来源:发表于2023-10-19 17:10 被阅读0次

原淘宝npm域名即将停止解析,请切换至新域名 npmmirror.com

http://npm.taobao.orghttp://registry.npm.taobao.org 将在 2022.06.30 号正式下线和停止 DNS 解析。

新域名为 npmmirror.com, 相关服务域名切换规则请参考:

http://npm.taobao.org => http://npmmirror.com
http://registry.npm.taobao.org => http://registry.npmmirror.com

切换新的镜像源

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

然后再执行以下操作查看是否成功

npm config list

如果没安装过淘宝镜像源的,则直接安装

npm install -g cnpm --registry=https://registry.npmmirror.com

相关文章

  • npm 配置淘宝镜像

    1、配置 npm 为淘宝镜像 安装包时, npm install ,即使用镜像 2、安装 cnpm 为淘宝镜像 安...

  • 淘宝镜像

    NPM设置淘宝镜像 查询当前配置的镜像 设置成淘宝镜像 换成原来的 Yarn 设置淘宝镜像 查询当前配置的镜像 设...

  • 使用Electron构建桌面应用程序

    使用Electron构建桌面应用程序 配置npm,electron镜像 需要配置淘宝npm镜像仅需在用户目录下~/...

  • yarn 和npm 换成淘宝镜像

    NPM设置淘宝镜像1.查询当前配置的镜像 npm get registry https://registry.np...

  • nodesjs+mongodb环境配置

    git环境配置 npm使用淘宝镜像 npm install -g cnpm --registry=https://...

  • 创建Vue项目,配置router

    配置环境 Npm :用淘宝镜像 cnpm $ npm install -g cnpm --registry=htt...

  • VUE脚手架搭建

    先装好 node 装npm 持久使用淘宝镜像cnpm 配置:npm configsetregistry https...

  • npm设置/删除淘宝镜像

    npm 设置淘宝镜像 npm 删除淘宝镜像

  • nvm npm

    淘宝npm镜像:https://npm.taobao.org/mirrors/npm/淘宝node镜像:https...

  • npm 及 yarn 换源

    npm 1.查询当前配置的镜像 2.设置成淘宝镜像 nrm nrm(npm registry manager)是n...

网友评论

      本文标题:npm 配置淘宝镜像

      本文链接:https://www.haomeiwen.com/subject/fwphidtx.html