Files
tcwm-pc-shop/README.md
超掌柜 51828092db 更新文件 README.md
PC端注意事项
2024-05-23 11:15:51 +08:00

13 lines
685 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#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 命令