You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tvtri96
Hi tvtri96, thanks for your feedback!
But I have never seen this error before, and it seems like a problem of moment & moment-timezone themselves, and this issus: moment/moment-timezone#449 may be helpful for you.
I've set up a minimal webpack config with just babel loader and style loader and it works without any issue. IMHO just setup your webpack to transpile node_modules. There are plenty of other react modules which have similar issue when they are not transpiled.
I just import TimePicker after importing moment like this.
And it shows this error.
In moment-timezone, the error is in the following line
momentVersion = moment.version.split('.'),
Does anyone have any idea what did I do wrong? Thanks.
The text was updated successfully, but these errors were encountered: