Module not found: Can’t resolve ‘redux’ in ‘C:UsersFrontEndSrcfrontendnode_modulesreact-reduxesconnect’

Hi everyone,

Another quick one. I’d installed react-redux but was running into the following error:

Failed to compile.

./node_modules/react-redux/es/connect/mapDispatchToProps.js
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!

Cheers,
Chris

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s