nodefront icon indicating copy to clipboard operation
nodefront copied to clipboard

SASS files compile to BLANK CSS

Open rokf opened this issue 11 years ago • 5 comments

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

rokf avatar Jan 12 '13 23:01 rokf

Can you give some sample code that exhibits this problem?

ForbesLindesay avatar Jan 29 '13 16:01 ForbesLindesay

nodefronterror1

Using 'nodefront compile' gives this

nodefronterror2

rokf avatar Jan 30 '13 16:01 rokf

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).

ForbesLindesay avatar Jan 30 '13 16:01 ForbesLindesay

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

gabovanlugo avatar Feb 25 '13 00:02 gabovanlugo

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?

gavares avatar Dec 19 '13 22:12 gavares