Error: The `libsass` Binding Was Not Found
Running express app using node-sass-middleware give me this error on ubuntu: 0 info it worked if it ends with ok 1 verbose cli [ '/home/mohamed/.nvm/versions/node/v0.12.7/bin/node'
Solution 1:
This can be caused by incompatible node versions, per example, if you updated from 0.12 to 4.x or 5.x, you would have to either reinstall libsass or rebuild it with the command npm rebuild node-sass
.
Solution 2:
Looks like you don't have installed sass
or node-sass
.
Try with:
sudo su -c "gem install sass"
and
npm install -g node-sass
Solution 3:
Are you running npm rebuild node-sass
after you run npm install
? That fixed it for me.
Solution 4:
If your are using NVM, it is recommended to install & use the LTS version (currently 4.3.3). Do it using nvm install 4.3.3 && nvm use 4.3.3
Post a Comment for "Error: The `libsass` Binding Was Not Found"