Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdb for angular - build issue using chart js - using mdb 7.1.1 pro

kaising free asked 6 years ago


Hi all,

It seems there is an issue in some config files of mdb version 7.1.1.

For instance the file in ./esm5/ng-uikit-pro-standard.esm5.js makes an import of chartjs from 'chart.js' at line 12:

import * as Chart from 'chart.js';

To work, I had to modify it like this:

import * as Chart from 'chartjs';

 

Hope this can save times and help...

Regards,

 


Damian Gemza staff answered 6 years ago


Dear @kaising 
This is a very strange problem because we're not using chartjs but chart.js. So in node_modules there's no chartjs directory but chart.js directory.

Could you please check, if this problem exists on the fresh application with installed MDB Angular Pro and with charts?

Best Regards,

Damian



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: ?
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No