Node Sass could not find a binding for your current environment

Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x

我原来使用的node.js版本为16.X的版本,上来就是这种类型的报错。
后来实在没办法了,就只能换了node.js的版本
使用的是12.20.x版本的node
但是还是报错
使用命令

npm rebuild node-sass

执行完该命令后,即可正常运行

posted @ 2022-08-24 00:37  King-DA  阅读(367)  评论(0)    收藏  举报