前言
今天做项目时,前端npm,yarn,pnpm都用不了,经过一番搜索后发现,原来的淘宝镜像换新域名了
npm设置淘宝镜像
npm config set registry https://registry.npmmirror.com
yarn设置淘宝镜像
yarn config set registry https://registry.npmmirror.com
标签:npm,yarn,域名,registry,淘宝,镜像,npmmirror
From: https://www.cnblogs.com/ysk0904/p/17992509