前端运行项目时报错
Error: Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Unsupported runtime (93)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
解决方案
这是由于node版本与node-sass版本不匹配导致的
根据下图版本对照
卸载原本不兼容的node-sass,执行命令npm uninstall node-sass
安装对应的node-sass版本
安装命令npm install node-sass@版本 --save