#

Angular Error bootstrap.js:213 Uncaught TypeError: Bootstrap's Javascript requires jQuery. jQuery must be included before Bootstrap's Javascript.

 

Fehler in Google Chrome Browser in einer Angular Anwendung

 

bootstrap.js:213 Uncaught TypeError: Bootstrap's Javascript requires jQuery. jQuery must be included before Bootstrap's Javascript.

    at Object.jQueryDetection (bootstrap.js:213)

    at bootstrap.js:228

    at bootstrap.js:9

    at bootstrap.js:10

 

 

 

Solution:

In der Datei angular.json muss man die Reihenfolge vertauschen. Dann ng serve neu starten

 

            "scripts": [

              "./node_modules/jquery/dist/jquery.js",

              "./node_modules/bootstrap/dist/js/bootstrap.js"    

 

 

Mobile

.