-
-
Notifications
You must be signed in to change notification settings - Fork 319
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
BrowserslistError: Unknown version 55 of and_chr #340
Comments
Are all of your dependencies up to date? This might be caused by overlapping caniuse-db versions. |
Yes. Even after updating all dependencies it still throws this error. I am sad. 😢 |
That's odd. @sylvainpolletvillard had this issue earlier and it was resolved by updating caniuse-db manually to the latest version. Does this work for you? |
How does one go about doing this? |
Yeah, the current version is |
Yes, I got the same issue today and solved it with |
Same error here. For now, I only exclude merge-rules from my optimization process: |
solution: |
Same error, |
@kristoferjoseph hm, thanks, that work for me |
I'm still getting this error, even with the autoprefixer optimisation disabled and after running The error I'm specifically receiving is |
@ScottSmith95 Does the latest release of browserslist resolve this issue for you? browserslist/browserslist#110 (comment) |
Yes, looks like this issue is resolved for me now. |
Same error here. Had to pin cssnano@3.9.1. Everything after 3.9.1 throws the error mentioned above. |
@manuelbieh Does upgrading browserslist to 1.6 work for you? |
Seems like it is/was something completely different. I had 2 different versions of browserlist installed. One (1.4.0) came with an old version of browserlist and css-loader had its own (1.6.0) and whatever it was, it was broken. I cant say for sure if my downgrade to 3.9.1. really was what fixed it but after getting rid of browserlist 1.4.0 everything works for me now, sorry 😃 |
Alright, cool. Seems like this can be marked resolved now. 😄 |
I get this error repeatedly on Semaphore CI, but not locally. Dunno which postcss plugin is causing it. |
Maybe a
|
It's all a fresh install on CI. Somehow, using |
Started getting this error all of the sudden with a fresh install, setting I'm on browserslist 1.7.5. |
@notacouch Please provide a minimal reproduction, I am not getting this error after the latest browserslist release. |
@link cssnano/cssnano#340 (comment) Reduced conflicting CSS down to :target pseudo class and a relative matching selector (the matching selector could be a descendant after :target). Reduced browserslist issue down to custom stats file with an ‘and_chr’ browser. Run: gulp 'Copy nested .css files directly to /css/'
@ben-eb Thanks for asking. I had no idea how to go about this or if I could even reproduce it but... I did. Set up a repo here to demonstrate it: quoting the commit message:
|
@notacouch Thanks, I've created an issue in Browserslist for this. browserslist/browserslist#128 |
@ben-eb Thanks for following through with that. They patched that up real quick, too. Nice. |
Thank you @GautierT, your solution worked for me 👍 |
@sgarcia-dev this issue should be fixed with the latest versions. Edit: Ah, that's what @GautierT's solution was -- to reinstall everything with latest versions. |
If I add
cssnano
to my project I get this error.If I remove it the error goes away.
Please advise.
Thank you kindly.
The text was updated successfully, but these errors were encountered: