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

kaising priority asked 5 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 5 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: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: ?
  • Browser: chrome
  • OS: win10
  • Provided sample code: No
  • Provided link: No