jest-babel报错:Requires Babel "^7.0.0-0", but was loaded with "6.26.3"
解决方法:
yarn remove jest babel-jest babel-core @babel/core
yarn add --dev jest babel-jest babel-core@^7.0.0-bridge.0 @babel/core
本文来自博客园,作者:叶子玉,转载请注明原文链接:https://www.cnblogs.com/knuzy/p/10437076.html