Vue学习笔记之Node Sass version 8.0.0 is incompatible with 4.0.0错误

输入以下两个命令:

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)

 


 

posted @ 2023-04-24 10:12  时光飞逝,逝者如斯  阅读(189)  评论(0编辑  收藏  举报