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

posted @ 2019-02-26 14:23  叶子玉  阅读(2923)  评论(0编辑  收藏  举报