Question: Yarn start Failed with "Error: Unable to resolve module `react-redux`"
See original GitHub issueEnvironment node: v13.8.0 yarn: 1.22.0 npm: 6.13.7 mac: mojave
There has an error when build from source:
error: Error: Unable to resolve module react-redux
from src/init.tsx
: react-redux could not be found within the project or in these directories:
node_modules
If you are sure the module exists, try these steps:
- Clear watchman watches: watchman watch-del-all
- Delete node_modules: rm -rf node_modules and run yarn install
- Reset Metro’s cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*
I reinstall node\yarn\npm, can’t resolve it. Please Help…
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Unable to resolve module 'react-redux ... - Stack Overflow
i first installed using npm install --save redux and then run did npm start and then react-native run-ios.Same error persists. – Saranya. Jul...
Read more >unable to resolve module react-native-elements - You.com
I'm try to run expo project on iOS. When I run command expo start , Metro bundle starts successfully but when I click...
Read more >Troubleshooting | React Navigation
I'm getting an error "Unable to resolve module" after updating to the latest version. This might happen for 3 reasons: Stale cache of...
Read more >react-redux - npm
Official React bindings for Redux. Latest version: 8.0.5, last published: 2 months ago. Start using react-redux in your project by running ...
Read more >Unable to resolve module `@react-native-community/toolbar ...
Coding example for the question Error: Unable to resolve module ... yarn add @react-native-community/toolbar-android.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nikoant Has a fix for this. This should be in master in just a bit.
Can confirm, I have the same issue.
Steps to reproduce
Info OS: Linux NPM: 6.13.2 Yarn: 1.22.0
Error error: Error: Unable to resolve module
react-redux
fromsrc/init.tsx
: react-redux could not be found within the project or in these directories: node_modulesIf you are sure the module exists, try these steps: