Installing Version Issue with Angular
Installing Version Issue with Angular
shaziyali8
Posts: 9Questions: 0Answers: 0
I am trying to install Datatables in Angular 13 by CLI manually
npm install jquery - save
npm install angular-datatables --save
npm install datatables.net --save
npm install bootstrap --save
npm install datatables.net-dt --save
npm install @types/jquery --save-dev
npm install @types/datatables.net --save-dev
am getting below error
This application depends upon a library published using Angular version 14.0.3, which requires Angular version 14.0.0 or newer to work correctly.
Replies
Looks like you are trying to use angular-datatables which is supplied by a third party. Looks like it utilizes Datatables but angular-datatables is not supplied by Datatables. You will need to ask for support from the angular-datatables library developer.
The error indicates that you need Angular 14.0.0 or above to use this version of angular-datatables. Sounds like you either need to upgrade Angular or possibly find an earlier version of angular-datatables that supports Angular 13.
Kevin
Yes for that, I uninstall angular-datatables then install again according to the angular version.
for that we need to use npm command - npm install angular-datatables@13.0.0 --save
But am not able to see length menu
See this FAQ.
Kevin