maximegris / angular-electron

Ultra-fast bootstrapping with Angular and Electron :speedboat:
https://www.maximegris.fr/angular-electron/
MIT License
5.67k stars 1.37k forks source link

incompatible @ng-bootstrap/ng-bootstrap #820

Open barnabasszabo opened 1 week ago

barnabasszabo commented 1 week ago

Describe the bug With this version the @ng-bootstrap/ng-bootstrap is not working.

I tried with ng add @ng-bootstrap/ng-bootstrap@17.0.1 or ng add @ng-bootstrap/ng-bootstrap@17.0.0 or ng add @ng-bootstrap/ng-bootstrap@16.0.0 or ng add @ng-bootstrap/ng-bootstrap@16.0.0-rc.2

but none of the versions were worked. The 17.0.x versions are incompatible because the project is not using yet Angular 18, which is fine. But the 16.x.x version also not working.

To Reproduce Steps to reproduce the behavior:

  1. clone this repo
  2. run ng add @ng-bootstrap/ng-bootstrap@16.0.0-rc.2
  3. See error
barnabasszabo commented 1 week ago

This is the wersion incompatible problem: npm error Found: @angular/compiler@17.3.6 npm error node_modules/@angular/compiler npm error @angular/compiler@"17.3.6" from the root project npm error npm error Could not resolve dependency: npm error peer @angular/compiler@"17.3.12" from @angular/localize@17.3.12 npm error node_modules/@angular/localize npm error peer @angular/localize@"^17.0.0" from @ng-bootstrap/ng-bootstrap@16.0.0-rc.2 npm error node_modules/@ng-bootstrap/ng-bootstrap npm error @ng-bootstrap/ng-bootstrap@"16.0.0-rc.2" from the root project