question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Can't resolve 'redux-thunk'

See original GitHub issue

I 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: image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
xdavecommented, May 28, 2018

Need to bump the NPM version

0reactions
vnapastiukcommented, Apr 26, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found