我收到了这个奇怪的错误,无法找到清除它的方法。它关于一些 babel 预设
请找到 package.json 文件
{
"name": "wallet",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"@babel/preset-react": "^7.0.0",
"jwt-node-decoder": "0.0.4",
"radio-button-react-native": "^1.1.6",
"react": "^16.6.0-alpha.8af6728",
"react-native": "0.57.3",
"react-native-action-button": "^2.8.5",
"react-native-camera": "^1.1.4",
"react-native-checkbox": "^2.0.0",
"react-native-datepicker": "^1.7.2",
"react-native-device-info": "^0.21.5",
"react-native-i18n": "^2.0.12",
"react-native-keyboard-aware-scroll-view": "^0.6.0",
"react-native-maps": "^0.21.0",
"react-native-modal-dropdown": "^0.6.2",
"react-native-modest-checkbox": "^3.0.1",
"react-native-qrcode": "^0.2.6",
"react-native-swipeable": "^0.6.0",
"react-native-swipeout": "^2.3.3",
"react-navigation": "^1.5.12"
},
"devDependencies": {
"babel-jest": "23.6.0",
"jest": "23.6.0",
"metro-react-native-babel-preset": "0.48.1",
"react-test-renderer": "16.6.0-alpha.8af6728"
},
"jest": {
"preset": "react-native"
},
"rnpm": {
"assets": [
"src/app/resources/fonts/"
]
}
}
请让我知道如何解决这个问题。我无法纠正这个问题,因为它造成了很多问题。请让我知道如何解决这个问题。我无法纠正这个问题,因为它造成了很多问题。请让我知道如何解决这个问题。我无法纠正这个问题,因为它造成了很多问题。