Module not found: Can't resolve 'redux' in node_modules
Try to install both redux and react-redux at same time:
npm install --save redux react-redux
For people that might come across this in the future, I came across the same issue.
I was calling connect(mapStateToProps, null)(Component)
. All I had to do was actually pass in a proper mapDispatchToProps
argument and it solved the problem.
It had nothing to do with redux not being properly installed.
This worked for me
npm install --save redux react-redux