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
I get same error with bootstrap 4.1.3
, and I am sure script order is correct, jquery is placed before bootstrap.
Because I load these scripts in tampermonkey
scripts( a browser add-on to manage third party scripts which can modify current web page ) by the @require
attribute, it's hard to inject codes between jquery loading and bootstrap loading.
Changing to a previous version 3.3.7
of bootstrap solves the error. Waiting for next version of bootstrap would solve this.