我刚刚从react-native@0.53.3
迁移到react-native@0.56
。另外,根据需要,将节点升级到8+(10.7.0),并将babel升级到7.0.0-beta.54。完成迁移过程后,出现以下错误:
以下是babel devDependencies:
"devDependencies": {
"@babel/core": "7.0.0-beta.54",
"@babel/preset-flow": "7.0.0-beta.54",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "22.1.0",
"babel-preset-react-native": "5.0.2",
"jest": "22.1.4",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native"
}
我做错什么了吗?