csscomb / sublime-csscomb

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

Error thrown when plugin is used #38

Open sebjuzac opened 9 years ago

sebjuzac commented 9 years ago

I have an issue that came from the 1.0 version, i can't “comb” any files, it always throw me an error.

  1. I have tried multiple packages for the syntax (looking at other people issues), Sass, Less, Scss & CSS3.
  2. I'm using CSScomb on .scss files.
  3. I already tried to remove/reinstall the package, even tried on a clean ST3 install.
  4. I'm using CSScomb by selecting directives image

But i still get this error :

CSScomb error:

/Users/sebastien/Library/Application Support/Sublime Text 3/Packages/CSScomb/node_modules/csscomb/node_modules/csscomb-core/lib/core.js:412
            throw e;
                  ^

Please check the validity of the block starting from line #1

1*|             font-size: 40px;
2 |             margin-bottom: 8px;
3 |             user-select: text;

Gonzales PE version: 3.0.0-10
CSScomb Core version: 2.0.2

Any solution?

psyrendust commented 9 years ago

I get the same error

plainspace commented 9 years ago

+1. it is working in other file types (css, scss, sass) but not less. :sob:

brunowego commented 9 years ago

+1 get this same issue. (LESS)

lam0114 commented 9 years ago

You should select all of the code including h1.And then you can Comb CSS styles.

mvaldetaro commented 9 years ago

+1 same issue on CSS file

JinxiuLee commented 8 years ago

+1

ahmed7amdy commented 8 years ago

I get the same error!

wilburlikesmith commented 8 years ago

Same issue :/ ...Wait, it seems to be working, just not on this one file...

rsturim commented 8 years ago

Same error -- what's up?

malditozxD commented 7 years ago

The solution is:

remove the package CSScomb, because generic conflic between ColorPik and this package

Just Remove the package CSScomb