I was getting this uncaught type error autocomplete is not a function in laravel while creating autocomplete in laravel.
Include jQuery UI css and Js on your web page where you have to develop autocomplete search functionality.
<!-- jQuery UI CSS --> <!-- jQuery --><!-- jQuery UI --> I found this guide helpful for this error: https://www.tutsmake.com/laravel-jquery-ui-autocomplete-ajax-search-example/