Question: modal is not a function jquery bootstrap 4?
Answer: The bootstrap Modal error is actually the result of you not including bootstrap's javascript before calling the modal function. Modal is defined in bootstrap. ... To avoid such error just be sure to include jQuery then bootstrap's javascript before you call the modal function.