Install fails - Windows 2008 - Error: `libsass` bindings not found. Try reinstalling `node-sass`?
See original GitHub issueCan someone give me a pointer here?
Trying to automate a build on a TeamCity server that’s running on Windows 2008. For some reason, all the other npm packages install. But gulp-sass
install seems to keep failing:
> Error: `libsass` bindings not found. Try reinstalling `node-sass`?
> at getBinding (G:\[...]\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:21:11)
> at Object.<anonymous> (G:\[...]\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:211:23)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
> at Module.load (module.js:356:32)
> at Function.Module._load (module.js:312:12)
> at Module.require (module.js:364:17)
> at require (module.js:380:17)
> at Object.<anonymous> (G:\[...]\node_modules\gulp-sass\index.js:3:17)
> at Module._compile (module.js:456:26)
> at Object.Module._extensions..js (module.js:474:10)
If I track the error to earlier in the log, this is what I find:
> fs: missing callback Error: EPERM, unlink 'G:\[...]\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-ia32\binding.node'
Happens every time. I tried installing node-sass
directly too, which seems to pass without errors, but gulp-sass
still throws the EPERM and libsass error anyway.
Thoughts?
Issue Analytics
- State:
- Created 9 years ago
- Comments:23 (1 by maintainers)
Top Results From Across the Web
libsass bindings not found when using node-sass in nodejs
I executed npm i node-sass to install the module, no errors so far. Now the mess starts: If I just open the REPL...
Read more >Error: libsass bindings not found. Try reinstalling node-sass ...
My workaround is only remove node-sass folder in node_modules and re-install package. It's inconvenient. Which other ways to solve this issue?
Read more >`libsass` bindings not found. Try reinstalling `node-sass`?
Hi everyone, I tried to update my node version and things goes wrong. Now I've got this error message : 'libsass' bindings not...
Read more >Resolving Grunt Error - libsass bindings not found in...
Step 1: run npm update from the grunt directory with your package.json. · Step 2: Likely if you try to run grunt, you'll...
Read more >How to fix libsass bindings not found
Anyway, after much back and forth, it turns out the solution was quite simple. From your project directory: rm -rf node_modules npm install....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try this fixes:
sudo npm install -g n sudo n 0.12.7 sudo npm install node-sass@2 sudo npm -g install node-gyp@3 sudo npm rebuild node-sass
@For me this
sudo npm install -S gulp-sass@latest
fixed the problem. I have centos6.5,node v4.4.7
andnpm 3.10.4