Answers for "Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3""

-1

Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If

npm install --save-dev "babel-core@^7.0.0-bridge.0"
Posted by: Guest on December-29-2020
1

error: requires babel "^7.0.0-0", but was loaded with "6.26.3".

Looks like you need
to install babel-core as the docs 
suggest: https://jestjs.io/docs/en/getting-started#using-babel

yarn add --dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime
Posted by: Guest on September-23-2021

Code answers related to "Error: Requires Babel "^7.0.0-0", but was loaded with "6.26.3""

Code answers related to "Javascript"

Browse Popular Code Answers by Language