[本文日期:2021年7月6日]
使用node 版本 12,
node-sass 安装的版本是4.14.1,
react版本为"react": “^17.0.2”,
安装之后报错 Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x
node-sass地址https://github.com/sass/node-sass/releases
Node下载地址https://nodejs.org/zh-cn/download/releases/
现在node-sass v6 支持node12以上版本,可以根据自己的环境安装,一般都不会报错,即使版本安装错了,报错也不用担心,总是会有解决的办法的
error in ./node_modules/vue-loading-spinner/src/components/RotateSquare5.vue?vue&type=style&index=0&id=fa2cf838&lang=scss&scoped=true&
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /Users/xxx/node_modules/node-sass/vendor/darw