expo / create-react-native-app

Create React Native apps that run on iOS, Android, and web
BSD 3-Clause "New" or "Revised" License
13.26k stars 1.35k forks source link

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

Open Sana720 opened 3 months ago

Sana720 commented 3 months ago

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.

AyJayHam commented 2 months ago

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

natejhowe commented 2 months ago

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

natejhowe commented 2 months ago

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

ivstiv commented 1 month ago

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!

Manlikevee commented 1 month ago

npx expo install --fix fixed it for me

kerimovok commented 2 days ago

@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!