title: Module not found: Can't resolve 'redux' in node_modules
body: <p>When I used typescript to create my react project, I introduced Redux error reporting, which indicated that I could not find it, but I had to install all the dependencies.</p>
  
  <p><strong>Here's my package.json</strong></p>
  
  <pre><code>{
    "name": "react-test",
    "version": "0.1.0",
    "private": true,
    "dependencies": {
      "@types/jest": "^24.0.11",
      "@types/node": "^11.11.3",
      "@types/react": "^16.8.8",
      "@types/react-dom": "^16.8.2",
      "@types/react-redux": "^7.0.3",
      "@types/react-router-dom": "^4.3.1",
      "axios": "^0.18.0",
      "react": "^16.8.4",
      "react-dom": "^16.8.4",
      "react-redux": "^6.0.1",
      "react-router-dom": "^4.4.0",
      "react-scripts": "2.1.8",
      "redux": "^4.0.1",
      "redux-devtools-extension": "^2.13.8",
      "redux-thunk": "^2.3.0",
      "typescript": "^3.3.3333"
    },
    "scripts": {
      "start": "react-app-rewired start",
      "build": "react-app-rewired build",
      "test": "react-app-rewired test",
      "eject": "react-scripts eject"
    },
    "eslintConfig": {
      "extends": "react-app"
    },
    "browserslist": [
      "&gt;0.2%",
      "not dead",
      "not ie &lt;= 11",
      "not op_mini all"
    ],
    "devDependencies": {
      "babel-plugin-import": "^1.11.0",
      "customize-cra": "^0.2.12",
      "node-sass": "^4.11.0",
      "react-app-rewired": "^2.1.1"
    }
  }
  </code></pre>
  
  <p><strong>Here's my store</strong></p>
  
  <pre><code>import { createStore, applyMiddleware } from 'redux'
  import thunk from 'redux-thunk'
  import { composeWithDevTools } from 'redux-devtools-extension'
  
  import reducer from './reducer'
  
  
  const store = createStore(reducer, composeWithDevTools(
     applyMiddleware(thunk)
  ))
  
  </code></pre>
  
  <p><strong>Unfortunately, the app doesn't compile and it complains with:</strong></p>
  
  <pre><code>./node_modules/_react-redux@6.0.1@react-redux/es/connect/mapDispatchToProps.js
  Module not found: Can't resolve 'redux' in '~/node_modules/_react-redux@6.0.1@react-redux/es/connect'
  </code></pre>
  
  <p>What should I do is right. Please help me, thanks.</p>