1、保证安装node-gyp
npm install -g node-gyp
2、安装xcode-select
xcode-code --install
3、匹配node和node-sass的版本
node14 => node-sass 4.14+
node13 => node-sass 4.13+
node12 => node-sass 4.12+
node11 => node-sass 4.10+
京公网安备 11010502049817号