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

can't find module of moment in Chart.js: "2.0.0-beta2", #2110

Closed
padmarao123 opened this issue Mar 9, 2016 · 2 comments
Closed

can't find module of moment in Chart.js: "2.0.0-beta2", #2110

padmarao123 opened this issue Mar 9, 2016 · 2 comments

Comments

@padmarao123
Copy link

i am using beta2 version .after build my error in console can't find module moment.give me any suggestion without dependence of momentjs

@dibsyjr1
Copy link
Contributor

dibsyjr1 commented Mar 9, 2016

That shouldn't be an error, it should be a warning and you don't need anything to fix it. It's purely for if you're trying to create a time series chart in which case you need to download moment.js but if you're not doing a time series then you don't need to do anything. If your chart isn't displaying then the problem is probably elsewhere.

Also moment isn't a module, it's the library itself. I don't know what your message is saying but in chrome it says "Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at http://momentjs.com/" for me

@etimberg
Copy link
Member

Fixed in #2145

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

No branches or pull requests

3 participants