I was looking into asynchronous requests with redux tonight and hit the following error:
Module not found: Can’t resolve ‘babel-polyfill’ in ‘C:Userssourcereposfrontendsrc
This is used to provide a promise polyfill for a fetch package mentioned in the tutorial. In order to fix it, just run the following:
npm install babel-polyfill
Thanks to the following post for the solution: https://stackoverflow.com/a/33568284/522859
Another quick one. I’d installed react-redux but was running into the following error:
Failed to compile.
Module not found: Can’t resolve ‘redux’ in ‘C:UserssourcereposFrontEndSrcfrontendnode_modulesreact-reduxesconnect’
Fairly easy fix, you need redux as well as react-redux:
npm install –save redux
Once that’s done, it should all be working!