TAMULib / scholars-angular

MIT License
1 stars 1 forks source link

Upgrade Bootstrap #76

Open ghost opened 2 years ago

ghost commented 2 years ago

https://getbootstrap.com/docs/5.0/migration/

https://github.com/ng-bootstrap/ng-bootstrap#installation

Use

ng add @ng-bootstrap/ng-bootstrap

to add as a schematics.

ghost commented 1 year ago

npm provides details

C:\Users\william\Development\work\scholars\scholars-cli\scholars-angular>npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @babel/helper-compilation-targets@7.21.5
npm WARN Found: @babel/core@7.19.3
npm WARN node_modules/@babel/helper-compilation-targets/node_modules/@babel/core
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @babel/core@"^7.0.0" from @babel/helper-compilation-targets@7.21.5
npm WARN node_modules/@babel/helper-compilation-targets
npm WARN   @babel/helper-compilation-targets@"^7.19.3" from @babel/core@7.19.3
npm WARN   node_modules/@babel/helper-compilation-targets/node_modules/@babel/core
npm WARN   9 more (@babel/core, @babel/core, @babel/core, @babel/core, ...)
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @ng-bootstrap/ng-bootstrap@11.0.1
npm ERR! Found: @angular/common@16.0.1
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"16.0.1" from the root project
npm ERR!   peer @angular/common@"16.0.1" from @angular/forms@16.0.1
npm ERR!   node_modules/@angular/forms
npm ERR!     @angular/forms@"16.0.1" from the root project
npm ERR!   9 more (@angular/platform-browser, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^13.0.0" from @ng-bootstrap/ng-bootstrap@11.0.1
npm ERR! node_modules/@ng-bootstrap/ng-bootstrap
npm ERR!   @ng-bootstrap/ng-bootstrap@"~11.0.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @angular/common@13.4.0
npm ERR! node_modules/@angular/common
npm ERR!   peer @angular/common@"^13.0.0" from @ng-bootstrap/ng-bootstrap@11.0.1
npm ERR!   node_modules/@ng-bootstrap/ng-bootstrap
npm ERR!     @ng-bootstrap/ng-bootstrap@"~11.0.1" 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:
npm ERR! C:\Users\william\AppData\Local\npm-cache\_logs\2023-05-18T14_15_10_045Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\william\AppData\Local\npm-cache\_logs\2023-05-18T14_15_10_045Z-debug-0.log