Skip to content

Help !!! Unable to solve it tried whatever is available in google "The development server returned response error code 500 #931

Open

Description

@Sana720

Screenshot (73)
Describe the bug
error: TypeError: dependencies is not iterable
at Graph._resolveDependencies (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:452:23)
at Graph._processModule (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:267:38)
at async Graph._addDependency (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:378:20)
at async Promise.all (index 33)
at async Graph._processModule (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:328:5)
at async Graph._addDependency (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:378:20)
at async Promise.all (index 3)
at async Graph._processModule (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:328:5)
at async Graph._traverseDependenciesForSingleFile (C:\Users\saahm\OneDrive\Desktop\varcast-app-master\node_modules@react-native-community\cli-plugin-metro\node_modules\metro\src\DeltaBundler\Graph.js:255:5)
at async Promise.all (index 0)
Add any other context about the problem here.

Activity

  1. AyJayHam commented on May 6, 2024

    @AyJayHam

    Same error here, running on a Win 11 machine. Works just fine on my Win 10 machine.

  2. natejhowe commented on May 22, 2024

    @natejhowe

    Did you ever figure this out? I've been banging my head against the wall attempting to debug this error.

  3. natejhowe commented on May 22, 2024

    @natejhowe

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

  4. ivstiv commented on Jun 5, 2024

    @ivstiv

    Had the same issue today, my Windows bluescreened so that must have corrupted some of my cache. After wiping the Temp folder that @natejhowe mentioned the problem went away!

  5. Manlikevee commented on Jun 16, 2024

    @Manlikevee

    npx expo install --fix fixed it for me

  6. kerimovok commented on Jul 23, 2024

    @kerimovok

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

    It helped me too, thx!

  7. Aaqibraza098 commented on Aug 20, 2024

    @Aaqibraza098

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

    This one helped . Thanks

  8. mugabe00 commented on Aug 28, 2024

    @mugabe00

    npx expo install --fix

    this one helped me . thanks

  9. shaheer741 commented on Sep 8, 2024

    @shaheer741

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

    solved for me

  10. mikeisadev commented on Sep 16, 2024

    @mikeisadev

    I had the same problem and I fixed it right now.

    Instead of going into the "Temp" folder inside AppData/Local deleting the interested temp and cache files, you can do the following steps:

    • delete ".expo" folder inside your react native project
    • run this command npm cache clean --force to clear the global npm cache
    • then run this command npx expo start --clear to restart the development server and to clear the transformation javascript/typescript/jsx/tsx files starting fresh

    These commands helped me to solve the problem. Yes, you can go and clear cache files and temp files inside your PC folders inside "AppData/Local/Temp", but this approach will save you time with a direct CLI command.

    I want to add more:
    If you need to establish a tunnel connection to see your react native app through expo go on your smartphone do this:

    • npm cache clean --force
    • npx expo start --clear
    • then "ctrl+c" to stop everything
    • npx expo start --tunnel to restart the server in a tunnel

    Or you can combine the two last commands npx expo start --clear and npx expo start --tunnel into npx expo start --clear --tunnel after doing npm cache clean --force. But npx expo start --clear --tunnel gave me errors, so do the step by step procedure dividing the two commands.

    Hope it helps.

  11. Vinaykpro commented on Oct 15, 2024

    @Vinaykpro

    Cool so deleting the temp folder is the only working way for me these cache clean commands didn't fix my problem...

  12. AslamNS commented on May 13, 2025

    @AslamNS

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

    this worked for me

  13. Shahtaymur commented on May 25, 2025

    @Shahtaymur

    @Sana720 Delete your Temp folder located here C:\Users{user}\AppData\Local\Temp. Then try again. Fixed it for me.

    It helped me too, thx!

  14. leostark221 commented on Jun 17, 2025

    @leostark221

    npx expo install --fix fixed it for me

    Worked for me as well. Thanks it was a different issue but somewhat similar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions