Open Closed

Updating chart.js version #2107


User avatar
0
bozkan created
  • ABP Framework version: v4.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

As the following link states; https://support.abp.io/QA/Questions/858/How-can-I-create-a-new-angular-dashboard-widget-in-abpio-Documentation-is-only-for-Mvc chart.js is being loaded under the hood by ThemeSharedModule. But in our current project its version is v2.9.4. How can I update its version to a recent version?


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @bozkan, you can add resolutions section to your package.json file and specify the version of the package you want.

    For more info about resolutions system of yarn, see here

    {
        "name": "Acme.BookStore",
        "dependencies": {
          //...
        }
        "resolutions": {
            "chart.js": "<specify_version>",
        }
    }
    

    Then run the yarn and gulp command on your terminal.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on May 15, 2025, 10:28