Search code examples
angularinternet-explorerinternet-explorer-11

On loading the application in IE 11 it throws error on console saying - SCRIPT5007: Unable to get property 'fn' of undefined or null reference


SCRIPT5007: Unable to get property 'fn' of undefined or null reference bootstrap.min.js (6,2004)

I am using

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>

And my application is Angular4 based


Solution

  • Load jQuery script before your Bootstrap script. Hopefully, this will solve your problem.