Ngx-datatable: Update Angular 12

Created on 26 Jun 2021  路  2Comments  路  Source: swimlane/ngx-datatable

[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Update for Angular 12

Npm show warnins

npm WARN @swimlane/[email protected] requires a peer of @angular/common@^11.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @swimlane/[email protected] requires a peer of @angular/core@^11.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN @swimlane/[email protected] requires a peer of @angular/platform-browser@^11.0.2 but none is installed. You must install peer dependencies yourself.

Most helpful comment

Wondering if this can be done sooner as angular 12 is awesome.

All 2 comments

Wondering if this can be done sooner as angular 12 is awesome.

馃

$ npm i @swimlane/ngx-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@"^12.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^11.0.2" from @swimlane/[email protected]
npm ERR! node_modules/@swimlane/ngx-datatable
npm ERR!   @swimlane/ngx-datatable@"*" 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.
Was this page helpful?
0 / 5 - 0 ratings