Estaba tratando de instalar generic-ui en mi proyecto angular usando el cmd:
npm i @generic-ui/ngx-grid @generic-ui/fabric @generic-ui/hermespero tengo el siguiente error:
$ npm i @generic-ui/ngx-grid @generic-ui/fabric @generic-ui/hermes npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: angular-app@0.0.0 npm ERR! Found: @angular/common@13.1.3 npm ERR! node_modules/@angular/common npm ERR! @angular/common@"~13.1.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @angular/common@"12.2.11" from @generic-ui/ngx-grid@0.16.4 npm ERR! node_modules/@generic-ui/ngx-grid npm ERR! @generic-ui/ngx-grid@"*" 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! See C:\Users\PC\AppData\Local\npm-cache\eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\PC\AppData\Local\npm-cache\_logs\2022-02-10T20_30_51_751Z-debug-0.logLiteralmente intenté todo, actualicé npm, instalé Angular CLI nuevamente, descargué e instalé el nodo nuevamente, npm audit y muchas otras cosas, pero no sucedió nada.
está intentando instalar @angular/common@13.1.3 en su proyecto pero el módulo @generic-ui/ngx-grid@0.16.4 solicita que el paquete @angular/common@"12.2.11" aún no sea compatible
en la página de github de ngx-grid dice que el módulo aún no es compatible con angular 13
Actualmente, la versión de Angular más alta admitida es 12.2. Estamos trabajando para llevar las bibliotecas Gui a Angular 13.
https://github.com/generic-ui/generic-ui
Lo mejor para su proyecto es permanecer en angular 12 mientras que las dependencias no son compatibles con angular 13