jest-babel報錯:Requires Babel "^7.0.0-0", but was loaded with "6.26.3"

解決方法:babel

yarn remove jest babel-jest babel-core @babel/corespa

yarn add --dev jest babel-jest babel-core@^7.0.0-bridge.0 @babel/corerem

相關文章
相關標籤/搜索