-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SyntaxError: Unmatched selector: (http] #30
Comments
Dear @shmulim, Would you mind sharing your index.html as well? Best, |
Hi @sedovsek, Unfortunately I can't share that without modification because I'm contract bound. Is there one particular part you'd like to share? Thanks! |
@shmulim, well as far as I can tell, the source of the issue is somewhere in your index.html file, not in your setup. |
I get the same error even from the most minimalistic index.html, such as this:
|
Have you looked at your CSS? |
The only thing that I can think of is that in one of my stylesheets I'm pulling in a background from cloudinary using a url, but I don't have any http selectors "proper". I also have base64 in my CSS. That could be throwing off the parser. I don't know... |
I've tried both (remote background images and base64 encoded files) and it works. |
We actually had a similar problem before (see uncss/uncss#3). The "SyntaxError: Unmatched selector" pops up when cheerio-select can't parse a CSS selector. |
@shmulim could you re-post this issue upstream to https://github.com/giakki/uncss/issues? If we can debug it directly with |
I got the following error when using uncss:
This is my package.json:
And this is my Gruntfile.js:
Can you please elaborate on why I'm getting this error?
The text was updated successfully, but these errors were encountered: