title: How to solve 'Cannot find module 'webpack-cli/bin/config-yargs' error in reactjs?
body: <p><strong>When I run my first hello world react example, I got the following error.
  How do I solve this?</strong></p>
  
  <pre><code>Error: Cannot find module 'webpack-cli/bin/config-yargs'
      at Function.Module._resolveFilename (module.js:547:15)
      at Function.Module._load (module.js:474:25)
      at Module.require (module.js:596:17)
      at require (internal/module.js:11:18)
      at Object.&lt;anonymous&gt; (.\ReactJS\node_modules\webpack-dev-server\bin\webpack-dev-server.
  js:65:1)
      at Module._compile (module.js:652:30)
      at Object.Module._extensions..js (module.js:663:10)
      at Module.load (module.js:565:32)
      at tryModuleLoad (module.js:505:12)
      at Function.Module._load (module.js:497:3)
  </code></pre>
  
  <p>package.json file:</p>
  
  <pre><code>  "devDependencies": {
      "babel-core": "^6.26.3",
      "babel-loader": "^7.1.5",
      "babel-preset-es2015": "^6.24.1",
      "babel-preset-react": "^6.24.1",
      "webpack": "^4.16.5",
      "webpack-dev-server": "^3.1.5"
    },
    "dependencies": {
      "react": "^16.4.2",
      "react-dom": "^16.4.2",
      "start": "^5.1.0"
    }
  }
  </code></pre>