React-native expo error (The development server returned response error code: 500)

#1

Hi, I got this Error on Android device:

"The development server returned response error code: 500

URL: http://packager.w7-bf7.infographapps.jo-unicef-tracker.exp.direct/node_modules/expo/AppEntry.bundle?platform=android&dev=true&minify=false&hot=false&assetPlugin=C%3A\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\expo\tools\hashAssetFiles

BodyX:
{“originModulePath”:“C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\screens\MainTabsScreen.js”,“targetModuleName”:"…/node_modules/mobx/lib/utils/utils",“message”:"Unable to resolve module ../node_modules/mobx/lib/utils/utils from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js: The module ../node_modules/mobx/lib/utils/utils could not be found from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js. Indeed, none of these files exist:\n\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils\\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)",“errors”:[{“description”:"Unable to resolve module ../node_modules/mobx/lib/utils/utils from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js: The module ../node_modules/mobx/lib/utils/utils could not be found from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js. Indeed, none of these files exist:\n\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils\\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)"}],“name”:“Error”,“stack”:“Error: Unable to resolve module ../node_modules/mobx/lib/utils/utils from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js: The module ../node_modules/mobx/lib/utils/utils could not be found from C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\screens\\MainTabsScreen.js. Indeed, none of these files exist:\n\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)\n * C:\\Users\\SaidanPC\\Desktop\\Unicef\\jo.unicef.tracker\\node_modules\\mobx\\lib\\utils\\utils\\index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json)\n at ModuleResolver.resolveDependency (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\node-haste\DependencyGraph\ModuleResolution.js:161:851)\n at ResolutionRequest.resolveDependency (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\node-haste\DependencyGraph\ResolutionRequest.js:91:16)\n at DependencyGraph.resolveDependency (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\node-haste\DependencyGraph.js:272:4579)\n at dependencies.map.relativePath (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\DeltaBundler\traverseDependencies.js:376:19)\n at Array.map ()\n at resolveDependencies (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\DeltaBundler\traverseDependencies.js:374:16)\n at C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\DeltaBundler\traverseDependencies.js:212:33\n at Generator.next ()\n at step (C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\DeltaBundler\traverseDependencies.js:297:313)\n at C:\Users\SaidanPC\Desktop\Unicef\jo.unicef.tracker\node_modules\metro\src\DeltaBundler\traverseDependencies.js:297:473”}
processBundleResult
** BundleDownloader.java:268**
access$200
** BundleDownloader.java:35**
onChunkComplete
** BundleDownloader.java:195**
emitChunk
** MultipartStreamReader.java:76**
readAllParts
** MultipartStreamReader.java:154**
processMultipartResponse
** BundleDownloader.java:179**
access$100
** BundleDownloader.java:35**
onResponse
** BundleDownloader.java:148**
c
** RealCall.java:135**
run
** NamedRunnable.java:32**
runWorker
** ThreadPoolExecutor.java:1133**
run
** ThreadPoolExecutor.java:607**
run
** Thread.java:761**
"

I am using these dependencies :
“dependencies”: {
“expo”: “^27.0.0”,
“mobx”: “^3.4.1”,
“mobx-react”: “^4.3.5”,
“native-base”: “^2.7.1”,
“react”: “16.3.1”,
“react-native”: “https://github.com/expo/react-native/archive/sdk-27.0.0.tar.gz”,
“react-native-device-info”: “^0.22.1”,
“react-native-maps”: “^0.21.0”,
“react-native-popup-dialog”: “^0.14.52”,
“react-native-switch-pro”: “^1.0.0-beta”,
“react-native-tabbar-bottom”: “^1.0.4”,
“react-navigation”: “^2.6.2”
}

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.