Some hours ago, my expo/ React Native app was running perfectly fine locally.
However, in order to deploy the app, I had to delete the whole node_modules folder and run npm install to resume it. Since then, I am having this terrible error when I run expo start --ios on IOS.
For some reason, my app can't read "em" style values anymore. Any ideas about what can be happening? Here are my configurations::
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": {
"@react-native-community/masked-view": "0.1.10",
"@react-navigation/bottom-tabs": "^5.8.0",
"@react-navigation/compat": "^5.2.5",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",
"dotenv": "^8.2.0",
"expo": "~38.0.8",
"expo-image-picker": "^8.4.0",
"expo-status-bar": "^1.0.2",
"modal-react-native-web": "^0.2.0",
"moment": "^2.27.0",
"native-base": "^2.13.14",
"react": "~16.11.0",
"react-dom": "~16.11.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",
"react-native-elements": "^2.3.0",
"react-native-gesture-handler": "^1.3.0",
"react-native-google-books": "^1.0.4",
"react-native-keyboard-aware-scroll-view": "^0.9.2",
"react-native-loading-spinner-overlay": "^1.1.0",
"react-native-screens": "^2.10.1",
"react-native-star-rating": "^1.1.0",
"react-native-web": "~0.11.7"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"babel-preset-expo": "~8.1.0"
},
"private": true
}
app.json
{
"expo": {
"name": "bindersmobile",
"slug": "bindersmobile",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "white"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": ["**/*"],
"ios": {
"supportsTablet": true
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
