Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find moment.js library #92

Open
ilovecoffee opened this issue Nov 17, 2017 · 1 comment
Open

Could not find moment.js library #92

ilovecoffee opened this issue Nov 17, 2017 · 1 comment

Comments

@ilovecoffee
Copy link

Hi,
I am trying to implement Line Chart with Time Scale. See http://www.chartjs.org/samples/latest/scales/time/line-point-data.html.

However, I am running into issue where chart.js library cannot find moment.js library. See following screenshot of Google Chrome's console:

Console Output

I have included moment.js library in my project using bower but still no luck.

Any suggestion/workaround to resolve this issue?

Thanks.

@ajb223
Copy link

ajb223 commented Feb 21, 2018

I have found a solution. In index.js within the ember-cli-chart library, rather than including/importing Chart.js, I changed it to Chart.bundle.js. Everything seems to be working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants