npm 换源

可用的npm源:

npm 官方原始镜像网址:https://registry.npmjs.org/

淘宝镜像网址:http://registry.npmmirror.com

阿里云镜像网址:https://npm.aliyun.com

腾讯云镜像网址:https://mirrors.cloud.tencent.com/npm/

华为云镜像网址:https://mirrors.huaweicloud.com/repository/npm/

网易镜像网址:https://mirrors.163.com/npm/

中国科学技术大学开源镜像网址:http://mirrors.ustc.edu.cn/

清华大学开源镜像网址:https://mirrors.tuna.tsinghua.edu.cn/

换源,地址在上面,下列" xxxxxxx " 表示网址

npm config set registry xxxxxxx

例如:

换淘宝源:

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


相关推荐
一 乐4 分钟前
旅游|内蒙古景点旅游|基于Springboot+Vue的内蒙古景点旅游管理系统设计与实现(源码+数据库+文档)
开发语言·前端·数据库·vue.js·spring boot·后端·旅游
驯狼小羊羔15 分钟前
学习随笔-require和import
前端·学习
excel22 分钟前
🚀 从 GPT-5 流式输出看现代前端的流式请求机制(Koa 实现版)
前端
凸头26 分钟前
Spring Boot接收前端参数的注解总结
前端·spring boot·后端
爱吃甜品的糯米团子1 小时前
JavaScript 正则表达式:选择、分组与引用深度解析
前端·javascript·正则表达式
excel1 小时前
Vue SSR 编译器源码深析:ssrTransformShow 的实现原理与设计哲学
前端
excel1 小时前
深入解析 Vue 3 SSR 编译管线:ssrCodegenTransform 源码全解
前端
excel1 小时前
深入解析 Vue SSR 编译器的核心函数:compile
前端
IT_陈寒1 小时前
Vue 3性能优化实战:7个关键技巧让我的应用加载速度提升50%
前端·人工智能·后端
excel1 小时前
Vue SSR 错误系统源码解析:createSSRCompilerError 与 SSRErrorCodes 的设计原理
前端