question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BrowserslistError: Unknown version 55 of and_chr

See original GitHub issue

The error occurs with the following custom usage data:

{
    "and_chr": {
        "55": 14.063696426229837
    }
}

& the following browserslist config in package.json:

{
  "browserslist": [
    "last 3 Chrome versions",
    "last 3 Firefox versions",
    "last 2 Safari versions",
    "last 3 Edge versions",
    "last 2 iOS versions",
    "last 2 Android versions",
    "last 2 ChromeAndroid versions",
    "IE >= 11",
    "> 0.2% in my stats"
  ]
}

Right now a temporary fix is setting the version key to 0 instead of 55, otherwise this error is thrown:

BrowserslistError: Unknown version 55 of and_chr
    at error (/Users/beneb/projects/mergerules-bug-test/node_modules/browserslist/index.js:37:11)
    at Function.select (/Users/beneb/projects/mergerules-bug-test/node_modules/browserslist/index.js:603:21)
    at /Users/beneb/projects/mergerules-bug-test/node_modules/browserslist/index.js:207:41
    at Array.forEach (native)
    at browserslist (/Users/beneb/projects/mergerules-bug-test/node_modules/browserslist/index.js:196:13)

Thanks to @notacouch for providing a test case which reproduces the error! 💯

https://github.com/notacouch/mergerules-bug-test/commit/4d7b1be44aa75683851beec8169a3fc02cdb0361

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aicommented, Mar 3, 2017

Released in 1.7.6

0reactions
notacouchcommented, Mar 3, 2017

Thanks, all! Great work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Webpack production build: BrowserslistError: Unknown ...
I'm receiving this error whenever I try to run a production webpack build. ERROR in ./~/css-loader!./~/sass- ...
Read more >
BrowserslistError: Unknown version 67 of android
Coming soon: A brand new website interface for an even better experience!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found