After installing bootstrap 4, jquery, and popper via npm, I encountered an error in the console when loading my website. The error indicated that the file popper.js could not be retrieved. Upon further inspection, I found that there were two instances of popper.js - one loaded successfully by require.js with a path of
http://localhost:9000/Libs/popper.js/dist/umd/popper.js
, and another one not found by bootstrap with a path of http://localhost:9000/popper.js
.
In the images below, pic 1 displays the configured paths for the JS library, pic 2 shows the successful loading of libraries, and pic 3 highlights the failure to load popper.js.
I am puzzled as to why bootstrap is unable to recognize that popper.js has been loaded by require.js.
If anyone could offer insight into this issue, I would greatly appreciate it. Thank you!