error: 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
Test which version you are running with cmd
babel -V
If it is not verion 7 or higher
npm uninstall babel-cli -g
npm uninstall babel-core -g
And
npm install @babel/cli -g
npm install @babel/core -g
If you are using Jest run
npm install [email protected] --save-dev