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
Thanks to the answer from Griford I managed to get my Angular&Electron app running with Bootstrap. All I wanted to contribute here is that no external file is needed - you can initialize JQuery and Bootstrap in a script block also:
This works for me with the following versions (Electron 2.0.7):
"bootstrap": "^4.1.3",
"jquery": "^3.3.1",
"popper.js": "^1.14.4"
NOTE: no other script integration is needed for using Bootstrap when initialized by the two lines above. The only thing you need in addition is the CSS (in my case added to the bundle via angular.json).