Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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

## You'll need to remove the reference to babel-cli since that conflicts with @babel/cli.
## OR
## Ensure @babel packages are on the latest version in package.json
## Remove the package-lock.json and node_modules
## Reinstall using yarn (not npm)
## YOU CAN ALSO TRY
npm install --save-dev jest@24.8.0
Source by jestjs.io #
 
PREVIOUS NEXT
Tagged: #requires #babel #loaded
ADD COMMENT
Topic
Name
8+4 =