csscomb / sublime-csscomb

Sublime plugin for CSScomb—CSS coding style formatter
398 stars 61 forks source link

Latest Release Error. #39

Closed ctf0 closed 8 years ago

ctf0 commented 9 years ago

on save i get this error

error: CSScomb error:

node.js:815
    var cwd = process.cwd();
                      ^
Error: ENOENT, no such file or directory
    at Function.startup.resolveArgv0 (node.js:815:23)
    at startup (node.js:58:13)
    at node.js:906:3

screen shot

jb510 commented 9 years ago

Breaking for me too. Tried upgradiing node to 10.33, changed the error message, but still chokes when a declration inside a media query includes a -

@media only screen and (max-width: 767px) {
    .table.xirr-maintable th span {
    font-size: 12px;
    }
}

will die on the - between xirr-maintable

I assume this is the same poblem others are seeing with SCSS/SASS

jb510 commented 9 years ago

Hmm... check the WHOLE file for syntax errors. I Combed it bit by bit and caught another syntax error literally in the declaration of the file. I think it might be mis-reporting the error location when inside double braces (just a blind guess).