OS X 64-bit with Unsupported runtime

(1)、开发过程中node版本升级后,运行时,报错Error: Node Sass

Error: Node Sass does not yet support your current environment: OS X
64-bit with Unsupported runtime (64) For more information on which
environments are supported please see:

(2)解决方案:
不用回退node版本,而是升级node-sass。

update你的sass版本即可:

npm rebuild node-sass

或者自己手动升级:
1.先卸载

npm uninstall --save node-sass

2.清除缓存

npm cache clean -f

3.升级node-sass模块

npm install --save node-sass

或者

先卸载node-sass

npm uninstall node-sass

再重斜体样式装4.x版本的node-sass

npm install node-sass@4.12.0

node.js版本是v10.16.0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值