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
Having an issue while using parseDate - it reports an error from moment, TypeError: moment.locale is not a function. (In 'moment.locale()', 'moment.locale' is undefined). I believe the issue is the same as this - I am using webpack to build my bundle - and can be fixed my updating moment.js to 2.19.1.
The text was updated successfully, but these errors were encountered:
tomoakley
changed the title
parseDate - moment.locale is not a function
parseDate - moment.locale is not a function when bundling with webpack
Oct 20, 2017
Thanks for letting me know. I actually able to solve this by rolling back and lock down the moment.js at 2.10.3. I'll keep using the 2.10.3 because I haven't tested the recent version of moment.js and we don't need those features anyway.
Having an issue while using
parseDate
- it reports an error from moment,TypeError: moment.locale is not a function. (In 'moment.locale()', 'moment.locale' is undefined)
. I believe the issue is the same as this - I am using webpack to build my bundle - and can be fixed my updating moment.js to 2.19.1.The text was updated successfully, but these errors were encountered: