title: Uncaught SyntaxError: Unexpected token export - popper.js error
body: <p><strong>Angular is giving the error:</strong> <em>popper.js in bootstrap 4 gives SyntaxError Unexpected token export</em> </p>
  
  <p>I'm getting this error from browser console.</p>
  
  <p>Even I changed the popper.min.js location reference but no use..</p>
  
  <p>node_modules/popper.js/dist/umd/popper.min.js</p>
  
  <p>node_modules/popper.js/dist/ems/popper.min.js</p>
  
  <p><strong>Angular.json</strong></p>
  
  <pre><code>    "scripts": [
        "node_modules/bootstrap/dist/js/bootstrap.min.js",
        "node_modules/jquery/dist/jquery.slim.min.js",
        "node_modules/popper.js/dist/popper.min.js"
      ]
  </code></pre>