You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm i angular2-datatable
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @angular/[email protected]
npm ERR! node_modules/@angular/common
npm ERR! @angular/common@"^14.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^2.0.0" from [email protected]
npm ERR! node_modules/angular2-datatable
npm ERR! angular2-datatable@"^0.6.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
I was able to install the library with npm i angular2-datatable --legacy-peer-deps
but I get following error when i run the project
node_modules/angular2-datatable/lib/DataTableModule.d.ts:1:22
1 export declare class DataTableModule {
~~~~~~~~~~~~~~~
This likely means that the library (angular2-datatable) which declares DataTableModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
The text was updated successfully, but these errors were encountered:
I tried to upgrade to version 14 but it failed.
I was able to install the library with
npm i angular2-datatable --legacy-peer-deps
but I get following error when i run the project
The text was updated successfully, but these errors were encountered: