popper.js in bootstrap 4 gives SyntaxError Unexpected token export
问题 I tried install bootstrap 4, and included following links <script src="libs/jquery/dist/jquery.min.js"></script> <script src="libs/tether/dist/js/tether.min.js" ></script> <script src="libs/popper.js/dist/popper.js"></script> <script src="libs/bootstrap/dist/js/bootstrap.min.js" ></script> But The following error occurs : Uncaught syntaxError: Unexpected token export Any ideas how to fix it? 回答1: I encountered the same issue if I use popper.js from CDN network like cdnjs . If you observe the