Failed at the node sass@4.14.1 postinstall script.

首先,查看node和 npm版本

#用于列出已安装的 Node.js 版本。

bash 复制代码
nvm ls

#切换node版本

bash 复制代码
nvm use 12.17.0

#换国内镜像源:(单独设置sass的安装源。)

bash 复制代码
npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
bash 复制代码
npm install --registry https://registry.npm.taobao.org
相关推荐
ShuiShenHuoLe29 分钟前
Go html/template 使用入门
开发语言·golang·html
geovindu30 分钟前
java: Gale-Shapley Algorithm
java·开发语言·后端·算法
冻柠檬飞冰走茶1 小时前
PTA基础编程题目集 7-34 通讯录的录入与显示(C语言实现)
c语言·开发语言·数据结构·算法
星核0penstarry1 小时前
DeepSeek-V4-Flash 正式公测:大模型行业进入「极速平价普惠时代」
java·开发语言·人工智能
老洋葱Mr_Onion1 小时前
【C++】高精度模板
开发语言·c++·算法
脚踏实地皮皮晨2 小时前
003003002_WPF Grid 基类官方类定义逐行深度解析
开发语言·windows·算法·c#·wpf·visual studio
xieliyu.2 小时前
Java 线程池入门详解:线程池基础定义 + ThreadPoolExecutor 全参构造方法逐参数解析
java·开发语言·idea·javaee
一条泥憨鱼2 小时前
【从0开始学习计算机网络】| HTTP方法疑点解析
开发语言·计算机网络·http
微学AI11 小时前
一根针指向所有方向:挂谷猜想对 LLM Agent 技能-记忆架构的启示
开发语言·人工智能·架构·挂谷猜想