Have you considered the possibility that the react-native-fs
package (v2.17.0) might be causing this issue? It seems to have an internal dependency on an older version of metro
and metro-config
(v0.51.1), which could be why your project is not resolving to the latest version.
To verify which version is being resolved, try running npm ls metro-config
and check the topmost result. If necessary, you may need to force-install both metro
and metro-config
using the following command:
npm i -D <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="375a5243455877071901031907">[email protected]</a> <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f09d9584829fdd939f9e969997b0c0dec6c4dec0">[email protected]</a> --force