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.

Unknown version 59 of op_mob

See original GitHub issue
const browserslist = require("browserslist");

console.log(browserslist(["op_mob 59"], {mobileToDesktop: true}));

fails with

Uncaught Error [BrowserslistError]: Unknown version 59 of op_mob
    at Function.select (.../node_modules/browserslist/index.js:1101:17)
    at .../node_modules/browserslist/index.js:336:33
    at Array.reduce (<anonymous>)
    at resolve (.../node_modules/browserslist/index.js:318:18)
    at browserslist (.../node_modules/browserslist/index.js:443:21)
console.log(browserslist(browserslist(['op_mob 46']))); // == [ 'op_mob 46' ]
console.log(browserslist(browserslist(['op_mob 47']))); // Error

This has come up because Parcel first does browserslist(["> 0.25%"]) with the query read from some npm package.json, and then passing the result to Babel which calls browserslist again (https://github.com/parcel-bundler/parcel/issues/5164#issuecomment-695348725)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:28 (8 by maintainers)

github_iconTop GitHub Comments

9reactions
aicommented, Sep 20, 2020

Opera 59 w never released. I will add a fix to mobileToDesktop.

3reactions
AddictionRecoverycommented, Sep 21, 2020

I have nothing new to contribute here just wanted to confirm I am experiencing the same issue and none of the suggestions in this issue or here https://github.com/parcel-bundler/parcel/issues/5164 have worked so far. Thanks to everyone who is actively working on a solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

BrowserslistError: Unknown version 67 of android
I have created one angular library using angular 8 and CLI 8 . I am trying to build the library, but I am...
Read more >
"Can I use" usage table - CanIUse
Browser usage table, based on data from StatCounter GlobalStats. Information for mobile versions is extrapolated from other sources.
Read more >
Untitled
Hello kitty facebook profile layouts, Ciber control version sin publicidad. ... Sophie martin philippines catalogue 59, Friend request movie download, ...
Read more >
SECTION 01810 - California Courts
longest path of dependent activities within the current updated version of the ... 1.2.59 Project Manager or PM – An individual separately assigned...
Read more >
User agent detail - SonyEricssonG700/R100 Mozilla/4.0 (compatible ...
whichbrowser/parser /tests/data/mobile/os-symbian.yaml ; Opera Mobile 8.65 ; UIQ ...
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