title: How to fix Error cannot find module 'core-js/es6'
body: <p>I have been getting an error regardless of what I do. In fact I am building an app with mongoDB as a server using mongoose and babel-watch, but every time I run <code>babel-watch</code> I get this error: </p>
  
  <blockquote>
    <p><code>Error cannot find module 'core-js/es6'</code></p>
  </blockquote>
  
  <p>I have installed and reinstalled <code>core.js</code> using <code>npm install core.js</code>, however nothing changes. Please help.</p>
  
  <p>These are the dependencies I have installed on my project:</p>
  
  <pre class="lang-json prettyprint-override"><code>"dependencies": {
      "body-parser": "^1.19.0",
      "core-js": "^2.6",
      "cuid": "^2.1.6",
      "express": "^4.17.1",
      "limax": "^1.7.0",
      "mongoose": "^5.6.9",
      "node-gyp": "^5.0.3"
    },
    "devDependencies": {
      "babel-cli": "^6.26.0",
      "babel-core": "^6.26.3",
      "babel-loader": "^8.0.6",
      "babel-polyfill": "^6.26.0",
      "babel-preset-env": "^1.7.0",
      "babel-preset-es2015": "^6.24.1",
      "babel-preset-stage-0": "^6.24.1",
      "babel-watch": "^7.0.0",
      "nodemon": "^1.19.1"
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/bpP3V.jpg" rel="nofollow noreferrer">Code error seen from terminal after running npm start</a></p>