From 51828092db0c10f48800d3068d2d96cc23ddac04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E6=8E=8C=E6=9F=9C?= <> Date: Thu, 23 May 2024 11:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E4=BB=B6=20README.m?= =?UTF-8?q?d=20PC=E7=AB=AF=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f7efd77..ae29d8e 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ #tcwm-pc-shop + node版本使用v14.18.3 + 安装node-sass模块 + 1、一、淘宝镜像到期如何切换新镜像 + 清空缓存:npm cache clean --force + 切换镜像源:npm config set registry https://registry.npmmirror.com + 切换cnpm镜像:npm install -g cnpm --registry=https://registry.npmmirror.com + 查看cnpm版本及镜像是否安装成功:cnpm -v + 查看npm镜像是否配置成功:npm config get registry + npm install node-sass@4.14.1 --save + 如果npm无法安装,使用cnpm安装 cnpm install node-sass@4.14.1 --save + 如果使用cnpm安装node-sass模块,使用cnpm install 命令