Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node Sass could not find a binding for your current environment #5

Open
jweboy opened this issue Nov 12, 2016 · 2 comments
Open

Node Sass could not find a binding for your current environment #5

jweboy opened this issue Nov 12, 2016 · 2 comments

Comments

@jweboy
Copy link

jweboy commented Nov 12, 2016

ERROR in Missing binding F:\Project\Webpack\express-webpack-full-live-reload-exa
mple\node_modules\node-sass\vendor\win32-x64-51\binding.node
Node Sass could not find a binding for your current environment: Windows 64-bit
with Node.js 7.x

Found bindings for the following environments:

  • Windows 64-bit with Node.js 6.x

This usually happens because your environment has changed since running npm ins tall.
Run npm rebuild node-sass to build the binding for your current environment.
@ ./client/page2/index.scss 4:14-191 13:2-17:4 14:20-197

尝试了node 6.3.0 与 7.0.0 npm 3.10.9 依然是这个错误,是什么原因?

@kenanpengyou
Copy link
Owner

@jweboy node-sass这个包的确很容易出现兼容问题。 你可以看下node-sass里的这个issue ,里面提到这样的解决方法尝试:

  1. 按照提示的npm rebuild node-sass执行,看是否解决问题
  2. 如果问题依然存在,删除整个node_modules目录,重新npm install

@cryzzchen
Copy link

可以试试yarn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants