mac系统安装node-sass不兼容或者安装node-sass失败
问题:git拉取远端代码,本地npm install 后报错
报错类型:
1、Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Unsupported runtime (93)
2、Run “sh -c node scripts/build.js” error, exit code 1
3、在这里插入代码片
node.js - error: no template named ‘remove_cv_t’ in namespace ‘std’; did you mean ‘remove_cv’? - Stack Overflow
电脑配置:2021款MacBook Pro m1芯片
node --version 版本 v16
解决:最终发现是node16版本和node-sass不兼容造成的
附上:下载node链接
http://nodejs.cn/download/
希望对大家有所帮助
这里是引用