karthikv / nodefront

A node.js-powered rapid front-end development utility.
http://karthikv.github.com/nodefront
MIT License
246 stars 11 forks source link

SASS files compile to BLANK CSS #33

Open rokf opened 11 years ago

rokf commented 11 years ago

I have this issue where nodefront compiles my SASS file to a blank CSS. The CSS file has 4 blank lines if the SASS file has 4 lines of code for example.

I've installed SASS via: sudo npm install -g sass

ForbesLindesay commented 11 years ago

Can you give some sample code that exhibits this problem?

rokf commented 11 years ago

nodefronterror1

Using 'nodefront compile' gives this

nodefronterror2

ForbesLindesay commented 11 years ago

We use visionmedia/sass.js to render SASS, so the best bet would be to submit an issue over there (since it doesn't work even when using that library directly).

Alternatively, https://github.com/docpad/docpad-plugin-sass seems to use the official ruby gem. You could adapt their code and provide a nice simple API. If you can do that I'll happily support it in transformers (the library that nodefront will use to do the rendering in the next version).

gabovanlugo commented 11 years ago

Same issue here, but still, I'm using sass command in another console, but no css injection :(

gavares commented 10 years ago

I realize this issue is 10 months old but I just ran into it as well. It seems that visionmedia/sass.js is now returning a 404.

Is nodefront still using this library? If not, what is it using now? Has there been any workaround found for this issue?