Please provide the following:
- SDK Version: 43 and 44
- Platforms(Android/iOS/web/all): Android on SDK 43, Android and iOS on SDK 44
I can’t open the debugger on SDK 44 on Android and iOS without my app crashing/failing to load. Without using the debugger, my app works and loads perfectly. On SDK 43, I am having the issue on Android only.
I am having an issue with both expo-managed and bare workflows. I needed to convert to a bare workflow to install a package that requires updates to the android/ios packages. However, I also tested this with a managed workflow.
This issue happens after CMD M Debug on Android and CMD D Debug on iOS.
The following error is what appears on the console.
Error: Unable to resolve module ./debugger-ui/ui.e31bb0bc.js from /Users/user/Desktop/app/.:
None of these files exist:
* debugger-ui/ui.e31bb0bc.js(.native|.native.ts|.ts|.native.tsx|.tsx|.native.js|.js|.native.jsx|.jsx|.native.json|.json)
* debugger-ui/ui.e31bb0bc.js/index(.native|.native.ts|.ts|.native.tsx|.tsx|.native.js|.js|.native.jsx|.jsx|.native.json|.json)
at ModuleResolver.resolveDependency (/Users/user/Desktop/app/node_modules/metro/src/node-haste/DependencyGraph/ModuleResolution.js:211:15)
at DependencyGraph.resolveDependency (/Users/user/Desktop/app/node_modules/metro/src/node-haste/DependencyGraph.js:413:43)
at /Users/user/Desktop/app/node_modules/metro/src/lib/transformHelpers.js:317:42
at /Users/user/Desktop/app/node_modules/metro/src/Server.js:1471:14
at Generator.next (<anonymous>)
at asyncGeneratorStep (/Users/user/Desktop/app/node_modules/metro/src/Server.js:146:24)
at _next (/Users/user/Desktop/app/node_modules/metro/src/Server.js:168:9)
Error: Unable to resolve module ./debugger-ui/ui.e31bb0bc.css from /Users/user/Desktop/app/.:
I believe it could be an issue with the version of metro installed.
Here is my package.json
{
"name": "auth_frontend",
"version": "0.1.0",
"private": true,
"devDependencies": {
"@babel/core": "^7.12.9",
"expo-codemod": "^1.0.0",
"jest-expo": "^43.0.0",
"react-test-renderer": "16.3.1"
},
"scripts": {
"start": "expo start --dev-client",
"eject": "expo eject",
"android": "expo run:android",
"ios": "expo run:ios",
"test": "jest",
"postinstall": "patch-package"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@burstware/expo-plaid-link": "^1.0.6",
"@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-native-community/slider": "4.1.7",
"@react-navigation/drawer": "^5.8.2",
"@react-navigation/native": "^5.5.1",
"@react-navigation/stack": "^5.5.1",
"babel-core": "^6.26.3",
"babel-loader": "^7.1.4",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"color": "^2.0.0",
"expo": "^43.0.0",
"expo-clipboard": "~2.0.3",
"expo-constants": "~12.1.3",
"expo-firebase-analytics": "~5.0.3",
"expo-firebase-core": "~4.0.3",
"expo-font": "~10.0.3",
"expo-media-library": "~13.0.3",
"expo-network": "~4.0.3",
"expo-secure-store": "~11.0.3",
"expo-splash-screen": "~0.13.5",
"expo-status-bar": "~1.1.0",
"expo-updates": "~0.10.13",
"form-data": "^4.0.0",
"frisbee": "^3.0.0",
"hoist-non-react-statics": "^2.3.0",
"js-beautify": "^1.10.2",
"moment": "^2.22.2",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"pusher-js": "^6.0.3",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-appearance": "~0.3.3",
"react-native-chart-kit": "^6.11.0",
"react-native-dropdownalert": "^3.1.2",
"react-native-extended-stylesheet": "^0.8.0",
"react-native-gesture-handler": "~1.10.2",
"react-native-indicators": "^0.13.0",
"react-native-keyboard-aware-scroll-view": "^0.9.3",
"react-native-plaid-link-sdk": "^7.2.0",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0",
"react-native-snap-carousel": "^4.0.0-beta.5",
"react-native-svg": "12.1.1",
"react-native-web": "0.17.1",
"react-native-webview": "11.13.0",
"react-redux": "^7.2.2",
"redux": "^4.0.5",
"redux-logger": "^3.0.6",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0",
"yarn": "^1.22.4"
}
}
I’ve done everything as far as clearing all caches and reinstalling all packages. Hoping the community can help.
Thanks