Module not found: Can't resolve 'redux-thunk'
See original GitHub issueI use this package https://github.com/wmonk/create-react-app-typescript with redux 4
I load redux-thunk from master branch
npm i reduxjs/redux-thunk#master -S
I see redux-thunk in my node_modules folder
I import thunk middleware in my .ts file
import thunk from "redux-thunk";
And I see this error:
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Module not found: can't resolve' redux-thunk ' error I have tried ...
I faced the same problem but I run the command line: npm install --save redux-thunk.
Read more >redux-thunk - npm
Start using redux-thunk in your project by running `npm i redux-thunk`. There are 6453 other projects in the npm registry using redux-thunk.
Read more >Module not found: Can't resolve 'redux' in React | bobbyhadz
To solve the error "Module not found: Error: Can't resolve 'redux'", make sure to install the redux package by opening your terminal in...
Read more >Reactjs – Module not found: can't resolve' redux-thunk ' error I ...
Reactjs – Module not found: can't resolve' redux-thunk ' error I have tried the solutions but it does not happen.What is the solution....
Read more >Module not found: can't resolve' redux-thunk ' error I have tried ...
[Solved]-Module not found: can't resolve' redux-thunk ' error I have tried the solutions but it does not happen.What is the solution?-Reactjs ... I...
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 Free
Top 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
Need to bump the NPM version
In my case I’ve got the same problem. I resolved it by adding to the dependencies manually this line of code “redux-thunk”: “2.3.0”, and reinstalling all packages. It helped