Error: Requires Babel “^7.0.0-0”, but was loaded with “6.26.3”

Error: Requires Babel “^7.0.0-0”, but was loaded with “6.26.3”

Fix

npm install --save-dev babel-loader@^8.0.0-beta

https://webpack.js.org/loaders/babel-loader/

You are using babel-core instead of @babel/core, installing babel-loader@^8.0.0-beta will use @babel/core and should fix the issue

3/5 - (2 votes)