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

Semantic UI React Error: Unknown version 59 of op_mob #5172

Closed
evolfo opened this issue Sep 22, 2020 · 3 comments
Closed

Semantic UI React Error: Unknown version 59 of op_mob #5172

evolfo opened this issue Sep 22, 2020 · 3 comments

Comments

@evolfo
Copy link

evolfo commented Sep 22, 2020

🐛 bug report

Similar issue to this: #5164, I get this message when I try to start my server using npm start.

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

package.json:

{
  "name": "name",
  "version": "1.0.0",
  "description": "description",
  "main": "index.js",
  "scripts": {
    "start": "parcel index.html",
    "build": "parcel build index.html",
    "sitemap": "babel-node sitemap-builder.js"
  },
  "resolutions": {
    "browserslist": "4.14.4",
    "caniuse-lite": "1.0.30001129"
  },
  "author": "author",
  "license": "ISC",
  "dependencies": {
    "containers": "0.0.1",
    "emailjs-com": "^2.6.3",
    "iframe-resizer-react": "^1.0.3",
    "parcel-plugin-compress": "^2.0.2",
    "parcel-plugin-purifycss": "^1.0.5",
    "puppeteer-core": "^2.1.1",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-helmet": "^6.1.0",
    "react-markdown": "^4.3.1",
    "react-remarkable": "^1.1.3",
    "react-router-dom": "^5.1.2",
    "react-router-sitemap": "^1.2.0",
    "react-router-sitemap-builder": "^1.1.1",
    "remarkable": "^2.0.1",
    "semantic-ui-carousel-react": "^1.1.3",
    "semantic-ui-react": "^0.88.2"
  },
  "devDependencies": {
    "@babel/cli": "^7.8.4",
    "@babel/core": "^7.9.0",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-transform-runtime": "^7.9.0",
    "@babel/preset-env": "^7.9.0",
    "@babel/preset-react": "^7.9.1",
    "@babel/register": "^7.9.0",
    "@babel/runtime": "^7.9.2",
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-plugin-wildcard": "^6.0.0",
    "marked": "^1.1.1",
    "parcel-bundler": "^1.12.4",
    "parcel-plugin-purgecss": "^3.0.0",
    "react-router-sitemap": "^1.2.0",
    "react-router-sitemap-builder": "^1.1.1",
    "sass": "^1.26.10"
  }
}

.babelrc:

{
    "presets": [
        [
            "@babel/preset-env",
            {
                "targets": {
                    "browsers": [
                        ">0.25%",
                        "not ie 11",
                        "not op_mini all"
                    ]
                }
            }
        ],
        "@babel/preset-react"
    ],
    "plugins": [
        "@babel/plugin-transform-runtime",
        ["wildcard", {"exts": [
                "js",
                "es6",
                "es",
                "jsx",
                "md"
            ]}
        ]
    ]
}

🤔 Expected Behavior

Expected Parcel to build/run

😯 Current Behavior

Just errors, impossible to run successfully

💁 Possible Solution

I tried following the thread I linked above and this one as well: browserslist/browserslist#537, however, they didn't seem to resolve my issue.

🔦 Context

I'm unable to test my web app, or do any development.

💻 Code Sample

🌍 Your Environment

Software Version(s)
Parcel 1.12.4
Node 13.8.0
npm/Yarn 6.13.6
Operating System Mac OS 10.14.6
@rlacko58
Copy link

Have you tried installing the latest browserslist npm package?
(#5164 (comment))

@mischnic
Copy link
Member

Can you share a code sample so that I can reproduce the error?

@evolfo
Copy link
Author

evolfo commented Sep 24, 2020

Have you tried installing the latest browserslist npm package?
(#5164 (comment))

Ah that's what fixed it, thank you! I thought it might be different since it was saying semantic-ui-react instead of browserslist in the other thread.

@evolfo evolfo closed this as completed Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants