Pages

Wednesday, 28 October 2015

Node-sass

Node-sass is a library that provides binding for Node.js to libsass, the C version of the popular stylesheet preprocessor, Sass.
It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware.
Follow @nodesass on twitter for release updates: https://twitter.com/nodesass

Install

npm install node-sass
Some users have reported issues installing on Ubuntu due to node being registered to another package. Follow the official NodeJS docs to install NodeJS so that #!/usr/bin/env node correctly resolved.
Compiling versions 0.9.4 and above on Windows machines requires Visual Studio 2013 WD. If you have multiple VS versions, use npm install with the --msvs_version=2013 flag also use this flag when rebuilding the module with node-gyp or nw-gyp.
Having installation troubles? Check out our Troubleshooting guide.

from https://github.com/EdwonLim/node-sass-china