Skip to content
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

Unknown version 59 of op_mob when using font-awesome #5320

Closed
mikeyakymenko opened this issue Nov 6, 2020 · 2 comments
Closed

Unknown version 59 of op_mob when using font-awesome #5320

mikeyakymenko opened this issue Nov 6, 2020 · 2 comments

Comments

@mikeyakymenko
Copy link

🐛 bug report

🎛 Configuration (.babelrc, package.json, cli command)

{
  "browserslist": [
    "last 4 version",
    "> 2%",
    "not dead",
    "IE 11",
    "not op_mob 59"
  ],
}

🤔 Expected Behavior

works fine?

😯 Current Behavior

Just import font-awesome

import {FontAwesomeIcon} from '@fortawesome/react-fontawesome'
import {faFile} from '@fortawesome/free-solid-svg-icons'

and got error: node_modules/@fortawesome/react-fontawesome/index.es.js: Unknown version 59 of op_mob

🌍 Your Environment

Software Version(s)
Parcel 16.8.3
Node v14.11.0
npm/Yarn yarn
Operating System Mac OS X
@mischnic
Copy link
Member

mischnic commented Nov 6, 2020

Are you using browserslist 4.14.4 or newer? You might need to bump the version in your lockfile. #5164 (comment)

Parcel 16.8.3

There is no such version, the last v1 release was 1.12.4

@aileo
Copy link

aileo commented Nov 16, 2020

I had the same problem (node 14.15.0 but using npm on ubuntu and parcel 1.12.4).

Thank you @mischnic, adding "browserslist": "4.14.4" as a dev dependency to my package.json solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants