-
Notifications
You must be signed in to change notification settings - Fork 838
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
moment.location is not defined #6635
Comments
Thanks for reporting this. It looks like you're on an older version of EUI. Do you mind upgrading to a later version of EUI and letting me know if you still experience the same thing? If so, could you also provide steps to allow me to replicate this on my end as well? Thank you! |
I tried with the newest version of elastic, and still got problems. Even so, if worked I could not switch, because broked all my UI. I created a repo reproducing the error: Repo. Thaks for the attention |
Thank you for providing this repo! We do have known issues with Vite and don't officially support it at this time. In the meantime, I can document the issue your facing with the other known issues we have. |
Perfect, thanks for your time. If I encounter a solution, I will post here |
👋 This issue hasn't seen activity in 3 days, so we're automatically closing this issue as answered. Please leave a comment if that's not the case, or if you have any remaining questions or issues. |
Hi, recently I'm facing a lot of problems at build time using Vite. At the page that I use
EuiDatePicker
, is breaking, and giving the following error:moment$1.locale is not a function
.In development works fine, but in the build breaks. I don't know if the error is with the EUI or with vite
ElasticUI version: 40.0.0
Moment version: 2.29.
The text was updated successfully, but these errors were encountered: