The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Martin Clifford (1) [Avatar] Offline
#1
I've done as much research as possible to figure out what this error message means, but I'm at a loss and cannot progress in the book for now.

Failed to compile

./node_modules/react-redux/es/connect/mapDispatchToProps.js
Module not found: Can't resolve 'redux' in 'C:\Users\...\Projects\parsnip\node_modules\react-redux\es\connect'

I looked at mapDispatchToProps.js, which I'm not calling, and it just has a standard import of redux, so I don't know why that is failing. This began once I implemented mapStateToProps and connect in App.js.

I'm able to get it all up and running on codesandbox, so that leads me to believe it's a local environment issue. I'm just not sure how I go about solving a dependency's dependency issue smilie