Error installing Indicators

1 Answer 64 Views
Loader
John
Top achievements
Rank 1
Iron
John asked on 06 Jan 2023, 05:12 PM

I have been trying to install the indicators

When installing I get the following: NPM install @progress/kendo-angular-indicators

While resolving: kendo-angular-app@0.0.0
Found: @progress/kendo-angular-common@2.0.3
node_modules/@progress/kendo-angular-common
  @progress/kendo-angular-common@"^2.0.3" from the root project

Could not resolve dependency:
peer @progress/kendo-angular-common@"^3.0.0" from @progress/kendo-angular-indicators@2.0.0
node_modules/@progress/kendo-angular-indicators
  @progress/kendo-angular-indicators@"^2.0.0" from the root project

Fix the upstream dependency conflict, or retry
this command with --force or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

Below is my package.json


{
  "name": "kendo-angular-app",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve --ssl --ssl-key c:\\certificates\\localhost.key  --ssl-cert c:\\certificates\\localhost.crt",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^13.1.3",
    "@angular/cdk": "^13.3.9",
    "@angular/common": "^13.1.3",
    "@angular/compiler": "^13.1.3",
    "@angular/core": "^13.1.3",
    "@angular/forms": "^13.1.3",
    "@angular/localize": "^13.3.11",
    "@angular/material": "^13.3.9",
    "@angular/platform-browser": "^13.1.3",
    "@angular/platform-browser-dynamic": "^13.1.3",
    "@angular/router": "^13.1.3",
    "@progress/kendo-angular-buttons": "^7.0.6",
    "@progress/kendo-angular-common": "^2.0.3",
    "@progress/kendo-angular-dateinputs": "^6.0.3",
    "@progress/kendo-angular-dialog": "^6.0.2",
    "@progress/kendo-angular-dropdowns": "^6.0.2",
    "@progress/kendo-angular-excel-export": "^4.0.4",
    "@progress/kendo-angular-filter": "^1.0.0",
    "@progress/kendo-angular-grid": "^6.1.3",
    "@progress/kendo-angular-icons": "^2.0.1",
    "@progress/kendo-angular-indicators": "^2.0.0",
    "@progress/kendo-angular-inputs": "^8.0.9",
    "@progress/kendo-angular-intl": "^3.1.3",
    "@progress/kendo-angular-l10n": "^3.0.4",
    "@progress/kendo-angular-label": "^3.1.3",
    "@progress/kendo-angular-menu": "^4.0.2",
    "@progress/kendo-angular-notification": "^3.0.5",
    "@progress/kendo-angular-pdf-export": "^3.0.4",
    "@progress/kendo-angular-popup": "^4.0.6",
    "@progress/kendo-angular-tooltip": "^4.0.3",
    "@progress/kendo-angular-treeview": "^6.0.2",
    "@progress/kendo-data-query": "^1.6.0",
    "@progress/kendo-drawing": "^1.17.1",
    "@progress/kendo-licensing": "^1.2.2",
    "@progress/kendo-theme-default": "^5.8.1",
    "@progress/kendo-theme-material": "^5.8.1",
    "bootstrap": "^5.2.1",
    "lodash": "^4.17.21",
    "rxjs": "~7.4.0",
    "tslib": "^2.4.0",
    "zone.js": "^0.11.8"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "^13.1.4",
    "@angular/cli": "^13.1.4",
    "@angular/compiler-cli": "^13.1.3",
    "@types/jasmine": "^3.10.6",
    "@types/lodash": "^4.14.185",
    "@types/node": "^12.20.55",
    "jasmine-core": "~3.10.0",
    "karma": "^6.3.20",
    "karma-chrome-launcher": "^3.1.1",
    "karma-coverage": "^2.1.1",
    "karma-jasmine": "^4.0.2",
    "karma-jasmine-html-reporter": "~1.7.0",
    "typescript": "^4.6.2"
  }
}

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 11 Jan 2023, 09:10 AM

Hi John,

Indeed this is a known issue and it is due to the supporting major Angular versions 12-15. 

Depending on the NodeJS version and previously installed packages, using the --legacy-peer-deps flag might be needed. Please check the following article:

https://www.telerik.com/kendo-angular-ui/components/installation/requirements/#toc-nodejs

In mid-January 2023 we will drop the support for Angular v12. This means that the minimum required version will be 13 and above which will resolve similar dependency conflicts. Also in January, we will lock all @progress/kendo-angular-* packages to a single version, starting with v11 and continuing to follow the rules of SemVer. For more details about the new years updates please refer to this notice:

https://github.com/telerik/kendo-angular/issues/3859

This change will also help in updating the packages in the future more easily and there will be a single ChangeLog about the changes.

I hope this helps. Let me know if further assistance is required for this case.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Loader
Asked by
John
Top achievements
Rank 1
Iron
Answers by
Martin
Telerik team
Share this question
or