一、環境
yarn設置淘寶鏡像源:
yarn config set registry https://registry.npm.taobao.org
yarn查詢鏡像源:
yarn config get registry
npm查詢鏡像源:
npm config list
npm設置鏡像源:
npm set registry https://registry.npm.taobao.org/
清緩存:
npm cache clean --force
yarn cache clean