Closed hozn closed 3 years ago
@hozn Thanks for reporting this.
I'm not very familiar with aurelia-cli. But it looks like it's looking for the config in the wrong place. Perhaps @doktordirk has the answer to this question?
I was having the same issue. The reason is that in dist/amd/decorator/chart.js as wel as scales.js there is a reference to '../config.js' insteads of '../config'.
When you change these, it works fine.
@depeter, thank you for the solution. A PR is ready for review. #14.
I am using aurelia-cli 0.23.0.
I installed aurelia-charts (and aurelia-charts-c3) using npm and updated
aurelia.json
vendors.js bundle dependencies to include:However, trying to run
au run
yields the following error (snippet):