nrm切换华为镜像

查看nrm镜像列表

复制代码
nrm ls

  npm ---------- https://registry.npmjs.org/
  yarn --------- https://registry.yarnpkg.com/
  tencent ------ https://mirrors.cloud.tencent.com/npm/
  cnpm --------- https://r.cnpmjs.org/
  taobao ------- https://registry.npmmirror.com/
  npmMirror ---- https://skimdb.npmjs.com/registry/
  newnpm ------- http://registry.npmjs.org/
* huaweinpm ---- https://mirrors.huaweicloud.com/repository/npm/

刚安装可能不显示华为的镜像,需要手动添加:

复制代码
 nrm add huaweinpm  https://mirrors.huaweicloud.com/repository/npm

然后选择华为镜像:

复制代码
nrm use huaweinpm
相关推荐
Lovely Ruby3 天前
[前端] 封装一下 echart 6,发布到 npm
前端·npm·node.js
BD_Marathon3 天前
NPM_常见命令
前端·npm·node.js
雪域迷影3 天前
怎么将.ts文件转换成.js文件?
javascript·typescript·npm·tsc
安_3 天前
为什么 Vue 要用 npm run dev 启动
前端·vue.js·npm
暴富的Tdy4 天前
【脚手架创建 Vue3 公共组件库】
前端·npm·npm发布
BD_Marathon4 天前
【JavaWeb】NPM_简介和相关配置
前端·npm·node.js
BD_Marathon4 天前
NPM_配置的补充说明
前端·npm·node.js
soul g5 天前
npm 包发布流程
前端·npm·node.js
Y‍waiX‍‍‮‪‎⁠‌‫‎‌‫‬5 天前
【npm】从零到一基于Vite+vue3制作自己的Vue3项目基础的npm包并发布npm
前端·npm·node.js
elangyipi1235 天前
pnpm 深度解析:下一代包管理工具的原理与实践
npm·node.js