Fastlane Metro encountered an error: node_modules/typescript/lib/typescript.js: Call retries were exceeded

In your post, please share:

  • Whether you are bare or managed workflow
  • Your eas-cli version
  • What you have tried so far

I am running a managed workflow on the latest eas-cli. When building for IOS, FastLane gets the following error:

Metro encountered an error:
node_modules/typescript/lib/typescript.js: Call retries were exceeded

As below I have included typescript in the dependencies, but still get above error.

"dependencies": {
    "@expo/vector-icons": "^12.0.0",
    "@react-native-async-storage/async-storage": "~1.15.0",
    "@react-native-community/masked-view": "0.1.10",
    "@react-native-community/netinfo": "6.0.2",
    "@react-navigation/bottom-tabs": "^5.11.8",
    "@react-navigation/drawer": "^5.11.4",
    "@react-navigation/native": "^5.8.10",
    "@react-navigation/stack": "^5.12.8",
    "aws-amplify": "^3.3.15",
    "aws-amplify-react-native": "^4.3.0",
    "axios": "^0.21.1",
    "expo": "^43.0.0",
    "expo-app-loading": "~1.2.1",
    "expo-asset": "~8.4.3",
    "expo-constants": "~12.1.3",
    "expo-font": "~10.0.3",
    "expo-image-picker": "~11.0.3",
    "expo-linear-gradient": "~10.0.3",
    "expo-linking": "~2.4.2",
    "expo-localization": "~11.0.0",
    "expo-location": "~13.0.4",
    "expo-notifications": "~0.13.3",
    "expo-permissions": "~13.0.3",
    "expo-screen-orientation": "~4.0.3",
    "expo-updates": "~0.10.15",
    "expo-web-browser": "~10.0.3",
    "i18n-js": "^3.9.2",
    "lodash": "^4.17.20",
    "mobx": "^6.1.8",
    "mobx-react-lite": "^3.2.0",
    "prop-types": "^15.7.2",
    "react": "17.0.1",
    "react-dom": "17.0.1",
    "react-native": "0.64.3",
    "react-native-appearance": "~0.3.3",
    "react-native-async-storage": "^0.0.1",
    "react-native-elements": "^3.4.2",
    "react-native-fast-toast": "^2.2.0",
    "react-native-gesture-handler": "~1.10.2",
    "react-native-get-random-values": "~1.7.0",
    "react-native-maps": "0.28.1",
    "react-native-modal-dropdown-v2": "^1.0.1",
    "react-native-reanimated": "~2.2.0",
    "react-native-safe-area-context": "3.3.2",
    "react-native-screens": "~3.8.0",
    "react-native-toast-message": "^1.4.3",
    "react-native-touchable-scale": "^2.1.2",
    "react-native-web": "0.17.1",
    "uuid": "^8.3.2",
    "typescript": "~4.3.5"
  },