node-sass: `libsass` binding not found
I’ve seen several threads elsewhere with this same issue, must have tried 20 solutions, none worked for me so far.
"Uncaught Error: `libsass` bindings not found. Try rei nstalling `node-sass`?", source: C:\Users\Casey\Electron\resources\app\node_modules\node-sass\lib\index.js (22)
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 24 (12 by maintainers)
Commits related to this issue
- Merge pull request #906 from mgreter/fix/autotools-versioning Remove hard-coded version from autotools build — committed to scantist-ossops-m2/node-sass by mgreter 9 years ago
For context this error is almost always because
npm install
ran with a different version of node than the version you’re current running.Since node-sass is a native module we build the c++ code on installation. That code is tied to the version of node that ran the installation. If you change your node version the extension needs to be rebuilt, that’s what
npm rebuild
does.It’s our fault for not producing a more useful error message. This will be fixed. On 15 Sep 2015 17:24, “Ash Connell” notifications@github.com wrote: