That’s weird, the only dependencies I added are:
- aws-amplify
- aws-amplify-react-native
- react-native-elements
- react-native-paper
(all of them using the expo install command). Also, I do not have any webpack configuration. The project was created from crash using the option: tabs (TypeScript)
Here’s the package.json I have:
{
"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",
"test": "jest --watchAll"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^12.0.0",
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/bottom-tabs": "5.11.2",
"@react-navigation/native": "~5.8.10",
"@react-navigation/stack": "~5.12.8",
"amazon-cognito-identity-js": "^5.0.1",
"aws-amplify": "^4.0.2",
"aws-amplify-react-native": "^5.0.0",
"expo": "~41.0.1",
"expo-asset": "~8.3.1",
"expo-constants": "~10.1.3",
"expo-font": "~9.1.0",
"expo-linking": "~2.2.3",
"expo-splash-screen": "~0.10.2",
"expo-status-bar": "~1.0.4",
"expo-web-browser": "~9.1.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz",
"react-native-elements": "^3.4.1",
"react-native-gesture-handler": "~1.10.2",
"react-native-paper": "^4.8.1",
"react-native-reanimated": "~2.1.0",
"react-native-safe-area-context": "3.2.0",
"react-native-screens": "~3.0.0",
"react-native-web": "~0.13.12"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@types/react": "~16.9.35",
"@types/react-native": "~0.63.2",
"jest-expo": "~41.0.0",
"typescript": "~4.0.0"
},
"private": true
}