Estou com problemas para fazer a instalação da dependência @ng-bootstrap. Atualmente utilizo Debian e VScode.
Ao executar o código: npm install --save @ng-bootstrap/ng-bootstrap
o retorno é um erro de conflito de dependências no package @ng-bootstrap.
Erro do npm ao tentar instalar a dependência:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: diretivas-angular@0.0.0
npm ERR! Found: @angular/compiler@13.2.7
npm ERR! node_modules/@angular/compiler
npm ERR! @angular/compiler@"~13.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/compiler@"13.3.9" from @angular/localize@13.3.9
npm ERR! node_modules/@angular/localize
npm ERR! dev @angular/localize@"^13.2.7" from the root project
npm ERR! peer @angular/localize@"^13.0.0" from @ng-bootstrap/ng-bootstrap@12.1.2
npm ERR! node_modules/@ng-bootstrap/ng-bootstrap
npm ERR! @ng-bootstrap/ng-bootstrap@"*" 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 /home/gropp/.npm/eresolve-report.txt for a full report.
Detalhe: para eu conseguir rodar o projeto sem outros erros, preciso ter essa dependência.