mac系统在使用vue cli创建vue 3的项目时,使用了Sass,在build的时候,会发生下面的异常:
Syntax Error: Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (88)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
解决方法是,在项目下执行
npm rebuild node-sass
网友评论