Node Sass找不到您当前环境的绑定

本文翻译自:Node Sass couldn't find a binding for your current environment

I am having issues building an app because node-sass keeps failing with the error. 我在构建应用程序时遇到问题,因为node-sass不断因错误而失败。

ERROR in Missing binding /Users/warren/Sites/random-docs/my-cms/node_modules/node-sass/vendor/darwin-x64-11/binding.node 缺少绑定/Users/warren/Sites/random-docs/my-cms/node_modules/node-sass/vendor/darwin-x64-11/binding.node中的错误
Node Sass could not find a binding for your current environment: OS X 64-bit with Node 0.10.x Node Sass找不到您当前环境的绑定:带有Node 0.10.x的OS X 64位

I have tried running 我试过跑步

npm rebuild node-sass

which says 这说

Binary is fine; 二进制很好; exiting. 退出。

When running node -v I get v6.2.2 当运行node -v我得到v6.2.2

Which is different to what the sass error says "Node 0.10.x". 这与sass错误显示“节点0.10.x”不同。 I can't figure out why it is getting the wrong version. 我不知道为什么它得到了错误的版本。 I have also tried removing the node_modules folder and running npm update or npm install, both of which did not resolve the issue. 我还尝试了删除node_modules文件夹并运行npm update或npm install,但这两种方法都无法解决问题。 Any ideas? 有任何想法吗?


#1楼

参考:https://stackoom.com/question/2ZO6K/Node-Sass找不到您当前环境的绑定

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值