im使用最新版本的react-native运行,它给出了以下错误。
pls帮助我解决此问题。
未定义不是函数(评估'babelHelpers.objectDestructuringEmpty(t.default)')
它可能与react-native的某些版本问题有关,因为我正在测试旧版本
本机反应教程“ https://www.awesomecodingvideos.com/react-native-cartaxi-booking-app-part-2-redux/” ..
我的package.json
{
"name": "TaxiApp",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.5.0",
"react-addons-update": "^15.6.2",
"react-native": "0.57.1",
"react-native-router-flux": "^4.0.4",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"babel-jest": "23.6.0",
"babel-preset-react-native-stage-0": "^1.0.1",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.45.6",
"react-test-renderer": "16.5.0",
"redux-logger": "^3.0.6"
},
"jest": {
"preset": "react-native"
}
}