Metro "Unable to resolve module redux
... Module does not exist in the module map" but we don't use redux
#18931
Closed
3 tasks done
Labels
Resolution: Locked
This issue was locked by the bot.
Environment
Steps to Reproduce
I'm not sure how this can be reproduced by others. This happened to me when I re-installed the remote project.
Expected Behavior
Project should run as it did before I deleted my local copy of the project.
Actual Behavior
yarn install
cd ios && pod install
cd .. && react-native run-ios
or, alternatively, Open Xcode, set to physical device, and run project.I've tried the suggested steps, and tried using both NPM and Yarn to install our dependencies.
It says it can't resolve
redux
but our project does not use redux save for our packages' peer-dependencies. It also saysfalse != true
, suggesting there is a logic error somewhere in my bundled code, but nothing has changed since it was last working. Finally, it says it can't findmain.jsbundle
, and I've confirmed that it is not being included in the packaged build for whatever reason.The log suggests I report it, suggestions in #4968 haven't helped, and I don't know how to fix it, so here I am!
The text was updated successfully, but these errors were encountered: