You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
AlexanderRichey, cnring18, avlapeto, tyrw and sgarcia-dev
I'm still getting this error, even with the autoprefixer optimisation disabled and after running npm update caniuse-db. I've purged my node_modules directory as well.
The error I'm specifically receiving is Unknown version 0 of and_chr
Activity
ben-eb commentedon Jan 11, 2017
Are all of your dependencies up to date? This might be caused by overlapping caniuse-db versions.
kristoferjoseph commentedon Jan 11, 2017
Yes. Even after updating all dependencies it still throws this error. I am sad. 😢
ben-eb commentedon Jan 11, 2017
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?
kristoferjoseph commentedon Jan 12, 2017
How does one go about doing this?
npm i caniuse-db
?ben-eb commentedon Jan 12, 2017
Yeah, the current version is
1.0.30000605
; Fyrd/caniuse@67737dbsylvainpolletvillard commentedon Jan 12, 2017
Yes, I got the same issue today and solved it with
npm update caniuse-db
It works with caniuse-db version 1.0.30000605
Xayah2709 commentedon Jan 12, 2017
Same error here.
I found that it comes from https://github.com/ben-eb/postcss-merge-rules, that uses caniuse-api@1.5.2.
For now, I only exclude merge-rules from my optimization process:
cssnano({ mergeRules: false })
kristoferjoseph commentedon Jan 12, 2017
solution:
npm i caniuse-db --save
with npm 3+poxrud commentedon Jan 13, 2017
Same error,
npm i caniuse-db --save
fixed iteseQ commentedon Jan 16, 2017
@kristoferjoseph hm, thanks, that work for me
ScottSmith95 commentedon Jan 20, 2017
I'm still getting this error, even with the autoprefixer optimisation disabled and after running
npm update caniuse-db
. I've purged my node_modules directory as well.The error I'm specifically receiving is
Unknown version 0 of and_chr
ben-eb commentedon Jan 21, 2017
@ScottSmith95 Does the latest release of browserslist resolve this issue for you? browserslist/browserslist#110 (comment)
ScottSmith95 commentedon Jan 24, 2017
Yes, looks like this issue is resolved for me now.
manuelbieh commentedon Jan 24, 2017
Same error here. Had to pin cssnano@3.9.1. Everything after 3.9.1 throws the error mentioned above.
15 remaining items