输入以下两个命令:
npm uninstall node-sass
npm i -D sass
注:Mac环境如果进行了系统升级,需要重新安装Xcode,执行命令
xcode-select install
不然会出现如下的错误
Mac 解决 gyp: No Xcode or CLT version detected! 报错
如果出现python2的错误
gyp verb `which` failed Error: not found: python2
去官网下载安装python2.7的包即可;
关联错误:
Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (93)
- incompatible 错误 version 笔记 Nodeincompatible错误version笔记 incompatible version node sass quot incompatible expected version error incompatible version syntax version incompatible compiled expected version tomcat incompatible springboot node多个manager version netframework错误version程序 node required version问题 err_ssl_version_or_cipher_mismatc证书 错误