Closed fkazemi5236 closed 7 months ago
This looks like a Metro version mismatch - could you run yarn why metro-config
and let us know the output?
This looks like a Metro version mismatch - could you run
yarn why metro-config
and let us know the output?
Yes, Sure
`yarn why metro-config yarn why v1.22.19 [1/4] Why do we have the module "metro-config"...? [2/4] Initialising dependency graph... [3/4] Finding dependency... [4/4] Calculating file sizes... => Found "metro-config@0.80.8" info Has been hoisted to "metro-config" info Reasons this module exists
I fix this issue with this solution:
npx react-native@latest init my-project
package.json
filedevDependencies
of this file to your project and update the versions
I updated a React Native app to this version "react-native": "0.73.6" Everything works properly and there is no problem in running the program. But a warning is displayed in metro and because of this error, it does not allow me to create an app bundle :(
please help me to fix this issue