Lazy Loading Error Cannot read property 'fn' of undefined when using Bootstrap 4 in Asp.Net Core 2.2 Solution: Make sure that you are loading jquery first before Lazy Loading scrips If you are using async in your script tags, make sure that jquery does not load with async because it is needed to load first. It is critical for Lazy loading to function, hence it should not run in on different thread.