I want to use the node-sass
module in my node.js v0.12
application to benefit from the performance of libsass
.
I executed np
I solved this problem by updating my gcc from 4.4.x to 4.7.x
I have solved this to create the right directory with the specified binding.node file. You can download the bindings from github
https://github.com/sass/node-sass-binaries
Look in the error message the path where it tries to find the binding. In my case:
C:\Users\Martijn\Documents\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-x64-46
So I create this map win32-x64-46 and copy the binding from github in.
Combining the two answers above worked for me, plus additions:
sudo npm uninstall --save gulp-sass
npm install --save gulp-sass@2
npm update
npm rebuild node-sass
This is the only solution that worked for me,
sudo npm install -g n
sudo n 0.12.7
npm install node-sass@2
sudo npm -g install node-gyp@3
npm rebuild node-sass
No need for sudo or re-installations. This has always worked for me:
nvm use 0.12.2
I fixed this issue by deleting the existing /node_modules
folder and running npm update