"WARNING: Exception: [Errno 32] Broken pipe" when SCSS rules are too long
webartov opened this issue · 2 comments
Noticed that SublimeLinter-scss-lint stopped working, in console I saw the following error:
WARNING: Exception: [Errno 32] Broken pipe
After spending like 3hrs trying to find a fix I found out that the issue happens only at the specific condition.
It seems that SublimeLinter-scss-lint fails when there are many rules like below
How to reproduce: just copy-paste the code below until you get to line 130
@include m(medium) {
font-size: $--button-medium-font-size;
padding: $--button-medium-padding-vertical $--button-medium-padding-horizontal;
}
After that you'll see the following error:
https://monosnap.com/file/4Wh0H3uUogTrf0USJ84p4GO9lcJkV5
https://monosnap.com/file/3ZeL7HOewnH97emDnw2V6FccveYrSr
I have the same issue, past 230 or so lines in my scss file, I get scsslint(erred)
in my status bar, and reading the console log, I find the [Errno 32] Broken pipe
message. I copy pasted my sass code as small parts into another test file one by one to check if there was a bug somewhere, but it was all fine, I only have issue when I put it all together past a certain length.