I am trying to use the Datepicker in my html page and it does not work. I also created a dummy html page with just one field and it does not work there too. I get the error (as mentioned in the question title).Here is my HTML code.
[...]
<script ref="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.min.js"></script></head>
[...]