Roufid

Bootstrap Uncaught SyntaxError: Unexpected token export

Angular

You may encounter the following error when using Bootstrap popper with Angular : Bootstrap Uncaught SyntaxError: Unexpected token export

Solution

The problem is due to the Javascript import. Most certainly your imports looks like

You need to change the import to :

Note carefully node_modules/jquery/dist/jquery.slim.min.js and node_modules/popper.js/dist/umd/popper.min.js in the imports.