pierreavn / angular-tabler-icons

Tabler Icons components library for your Angular applications
https://www.npmjs.com/package/angular-tabler-icons
MIT License
24 stars 2 forks source link

Update to support angular 18 #141

Open brunohms opened 3 months ago

brunohms commented 3 months ago

Currently version 3.1.0 is not working with angular v18+.

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving:<REDACTED>
npm error Found: @angular/common@18.0.5
npm error node_modules/@angular/common
npm error   @angular/common@"^18.0.5" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular/common@"14 - 17" from angular-tabler-icons@3.1.0
npm error node_modules/angular-tabler-icons
npm error   angular-tabler-icons@"3.1.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error <REDACTED>-eresolve-report.txt

npm error A complete log of this run can be found in:<REDACTED>-debug-0.log
Guandaline commented 3 months ago

Same issue here!

ranupoju0126 commented 2 months ago

any update on this?

vidigal commented 1 month ago

same here

OlivierBeaudet commented 1 month ago

Same for me, need update, tried npm --force but some icons are not displayed.

the-ult commented 3 weeks ago

Once this PR merges, the official tabler-icons/angular might help

the-ult commented 3 weeks ago

For now adding this to your package.json might help:

{
 ...
 "overrides": {
    "angular-tabler-icons": {
      "@angular/common": "^18.0.0",
      "@angular/core": "^18.0.0"
    }
  },
}