Question: uncaught (in promise) typeerror $(...).modal is not a function?
Answer: js. The bootstrap Modal error is actually the result of you not including bootstrap's javascript before calling the modal function. ... To avoid such error just be sure to include jQuery then bootstrap's javascript before you call the modal function.