问题:
我在那里创建了一个反应原生应用程序,我正在使用 react-navigation-tab 模块。但它导致了一个错误,说明了这一点。
无法从“node_modules\react-navigation-tabs\lib\module\views\MaterialTopTabBar.js”解析“react-native-reanimated”
这是我的 package.json 文件。
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
},
"dependencies": {
"expo": "^35.0.0",
"expo-linear-gradient": "^7.0.0",
"react": "16.8.3",
"react-dom": "16.8.3",
"react-native": "0.59.8",
"react-native-elements": "^1.2.1",
"react-native-gesture-handler": "~1.3.0",
"react-native-vector-icons": "^6.6.0",
"react-native-web": "^0.11.7",
"react-navigation": "^4.0.8",
"react-navigation-stack": "^1.9.0",
"react-navigation-tabs": "^2.5.5"
},
"devDependencies": {
"babel-preset-expo": "^7.0.0"
},
"private": true
}
我尝试了很多在互联网上找到解决此问题的方法,但我无法这样做。有人可以帮我解决这个问题吗?谢谢你。