Skip to content

Instantly share code, notes, and snippets.

@stephencweiss
Created December 10, 2018 15:37
Show Gist options
  • Save stephencweiss/bd4e935d080ba216d7ad3a820ea852d8 to your computer and use it in GitHub Desktop.
Save stephencweiss/bd4e935d080ba216d7ad3a820ea852d8 to your computer and use it in GitHub Desktop.
// sh
FAIL jestTests/app.test.js
● Test suite failed to run
Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @ba
bel/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 call
ing Babel. (While processing preset: "/Users/Stephen/Documents/_coding/matilda/node_modules/@babel/preset-env/lib
/index.js")
at throwVersionError (node_modules/@babel/helper-plugin-utils/lib/index.js:65:11)
at Object.assertVersion (node_modules/@babel/helper-plugin-utils/lib/index.js:13:11)
at _default (node_modules/@babel/preset-env/lib/index.js:154:7)
at node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
at node_modules/babel-core/lib/transformation/file/options/option-manager.js:317:46
at Array.map (<anonymous>)
at OptionManager.resolvePresets (node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20)
at OptionManager.mergePresets (node_modules/babel-core/lib/transformation/file/options/option-manager.js:264:10)
at OptionManager.mergeOptions (node_modules/babel-core/lib/transformation/file/options/option-manager.js:249:14)
at OptionManager.init (node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (node_modules/babel-core/lib/transformation/pipeline.js:46:16)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment