0

Having problems with the update of bootstrap & popper. Ive tried every thing and keep getting error

Uncaught ReferenceError: Popper is not defined.

My images will not show. I followed a couple of suggestions from Bootstrap 4: Uncaught ReferenceError: Popper is not defined. but still no images.

Pavan
  • 33,316
  • 7
  • 50
  • 76

2 Answers2

0

Uncaught ReferenceError: Popper is not defined

I had a similar issue when I tried integrating Bootstrap 4 into my Rails 5 app and none of posts that I found couldn't able to fix my problem. This is how I fixed the error.

Step #1

Copied the popper.min source code to a file(namely popper.min.js) and placed that file under app/assets/javascripts

Step #2

And finally added //= require popper.min to application.js

Hope this resolve your problem.

Pavan
  • 33,316
  • 7
  • 50
  • 76
0

Are you sure that the order in which you are requiring the cdns is correct? double check that. Without knowing what your code looks like, it sounds like either your CDN is no good or you are not loading the scripts in the right order hence the error.

Check for any typing errors in/around where you are requiring the cdns.

Next make sure that have it required in the application.js

give that a good comb through first, those are the usual suspects

Denis S Dujota
  • 543
  • 5
  • 13