Facing jquery issue after install angular datatable
Facing jquery issue after install angular datatable
![Eraiarasu](https://secure.gravatar.com/avatar/5f360a6ce274ea49f2c02784076d88ba/?default=https%3A%2F%2Fvanillicon.com%2F5f360a6ce274ea49f2c02784076d88ba_200.png&rating=g&size=120)
I am using angular16 and installed datatables.net@1.13.5 and the latest bootstrap. I am facing issue on importing jquery
import * as $ from 'jquery'.
Please someone help
Thanks,
Erai
Replies
Hi Erai,
What's the issue - you haven't shown any error messages or something from the compiler stating what the issue is?
Allan
Hi Allan,
Thanks for your reply.
I am getting the below compile error message.
The first two are an issue with the jQuery UI AutoComplete library and nothing to do with DataTables. You might need to install the jQuery UI TypeScript types package.
The third one suggests you have
$
defined somewhere else. I don't know what file it is in since the error is blacked out, but have a look in that file.Allan
jQuery UI is already installed.
Before installing angular datatable it was working, after installation, Jquery dependency is included with that package and showring compilation error.
Did you install this package though? As I say, that is nothing to do with DataTables.
We don't publish Angular DataTables - you might be best asking the author of that package.
Allan