Execution failed for task ':app:bundleReleaseJsAndAssets'.

Hi,

Im trying run a preview and production build but im getting the error.
Execution failed for task ‘:app:bundleReleaseJsAndAssets’.
The build runs okay for development but fails for preview and production
Im using a managed workflow, Expo SDK 43.0.0 Eas - CLI version - eas-cli/0.38.3.

scroll up to see the error. the message is just above that.

also, Troubleshooting build errors and crashes - Expo Documentation

Hi, Im tried npm install and updating babel as well

My package.json file is

{
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "eas-build-pre-install": "echo 123",
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@expo-google-fonts/dosis": "^0.2.0",
    "@expo-google-fonts/inter": "^0.2.0",
    "@expo-google-fonts/source-sans-pro": "^0.2.0",
    "@react-native-community/datetimepicker": "3.5.2",
    "@react-native-community/slider": "4.1.7",
    "@react-navigation/material-bottom-tabs": "^6.0.9",
    "@react-navigation/material-top-tabs": "^6.0.6",
    "@react-navigation/native": "^6.0.6",
    "@react-navigation/stack": "^6.0.11",
    "dotenv": "^10.0.0",
    "expo": "^43.0.0",
    "expo-constants": "~12.1.3",
    "expo-dev-client": "~0.6.3",
    "expo-firebase-recaptcha": "~2.0.2",
    "expo-font": "~10.0.3",
    "expo-image-manipulator": "~10.1.2",
    "expo-image-picker": "~11.0.3",
    "expo-linking": "~2.4.2",
    "expo-localization": "~11.0.0",
    "expo-location": "~13.0.4",
    "expo-notifications": "~0.13.3",
    "expo-status-bar": "~1.1.0",
    "expo-web-browser": "~10.0.3",
    "firebase": "8.2.3",
    "geolib": "^3.3.3",
    "lottie-react-native": "4.0.3",
    "ngeohash": "^0.6.3",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "^0.64.3",
    "react-native-confirmation-code-field": "^7.1.0",
    "react-native-gesture-handler": "~1.10.2",
    "react-native-gifted-chat": "^0.16.3",
    "react-native-google-places-autocomplete": "^2.4.1",
    "react-native-image-slider-box": "^1.1.9",
    "react-native-maps": "0.28.1",
    "react-native-paper": "^4.9.2",
    "react-native-phone-number-input": "^2.1.0",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.8.0",
    "react-native-simple-radio-button": "^2.7.4",
    "react-native-swiper": "^1.6.0-rc.3",
    "react-native-tab-view": "^3.1.1",
    "react-native-vector-icons": "^8.1.0",
    "react-native-web": "0.17.1",
    "react-native-webview": "11.13.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.16.0",
    "@babel/core": "^7.16.0",
    "@types/react": "~17.0.21",
    "@types/react-native": "~0.64.12",
    "typescript": "~4.3.5"
  },
  "private": true
}

it sounds like you have an unconventional project setup. you would need to share a minimal reproducible example (as explained on Troubleshooting build errors and crashes - Expo Documentation) for help