ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

Failed at the node sass@4.14.1 postinstall script.

2026/10/1 13:13:32 拓冰建站 浏览量
Failed at the node sass@4.14.1 postinstall script.

首先,查看node和 npm版本

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

nvm ls

#切换node版本 

nvm use 12.17.0

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

npm config set sass_binary_site=https://npm.taobao.org/mirrors/node-sass
npm install --registry https://registry.npm.taobao.org