krasimir / techy

A flat file CMS based on Gulp and AbsurdJS
http://krasimir.github.io/techy
MIT License
250 stars 23 forks source link

Empty SCSS files cause node to crash and burn #28

Open sdaitzman opened 10 years ago

sdaitzman commented 10 years ago

I get a "node quit unexpectedly" and errors with empty SCSS files - should be an easy fix, just tell it to ignore empty files probably. Outputs:

+ CSS compiled
+ Pages compiled
Techy is listening for changes!
+ CSS compiled
Assertion failed: (val->IsString()), function _NanGetExternalParts, file ../node_modules/nan/nan.h, line 1725.
fish: Job 1, 'techy' terminated by signal SIGABRT (Abort)
krasimir commented 10 years ago

This is really strange error. Techy itself is not processing the SCSS files. This is done by the gulp-sass module. Is it possible that the problem is there?

sdaitzman commented 10 years ago

Not sure... I'll raise a new issue with them and see if they know anything about it

krasimir commented 10 years ago

Great. Let me know if the problem is in Techy.

sdaitzman commented 10 years ago

For future reference the new issue raised with gulp-sass is here: github.com/dlmanning/gulp-sass/issues/69