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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requires Babel "^7.0.0-0", but was loaded with "6.26.3". #1287

Closed
willin opened this issue May 4, 2018 · 1 comment
Closed

Requires Babel "^7.0.0-0", but was loaded with "6.26.3". #1287

willin opened this issue May 4, 2018 · 1 comment

Comments

@willin
Copy link

willin commented May 4, 2018

Choose one: is this a 馃悰 bug report or 馃檵 feature request?

Bug

Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.

馃帥 Configuration (.babelrc, package.json, cli command)

.babelrc:

{
  "presets": [
    "@babel/preset-env"
  ],
  "plugins": [
    ["@babel/plugin-transform-react-jsx", { "pragma": "h" }]
  ]
}

馃實 Your Environment

Software Version(s)
Parcel 1.8.1
Node 10.0.0
npm/Yarn 6.0.0 / 1.6.0
Operating System os x
@DeMoorJasper
Copy link
Member

DeMoorJasper commented May 4, 2018

Parcel doesn鈥檛 support babel 7 atm.
Follow progress here #868

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

2 participants