前端運(yùn)行項(xiàng)目時(shí)報(bào)錯(cuò)
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版本不匹配導(dǎo)致的
根據(jù)下圖版本對(duì)照

image.png
卸載原本不兼容的node-sass,執(zhí)行命令npm uninstall node-sass
安裝對(duì)應(yīng)的node-sass版本
安裝命令npm install node-sass@版本 --save