I am trying to make an Electron application with Bootstrap. I get this error message:
Uncaught TypeError: Cannot read property \'fn\' of undefined
at setTransit
In my case, I had the ordering of the imports of scripts wrong. The bootstrap import should come after the popper and jquery imports.
Since Bootstrap v4.+ depends on popper.js and jquery
"scripts": [
"./node_modules/jquery/dist/jquery.slim.min.js",
"./node_modules/popper.js/dist/umd/popper.min.js",
"./node_modules/bootstrap/dist/js/bootstrap.min.js"
]