-
Notifications
You must be signed in to change notification settings - Fork 837
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 Timezone requires Moment.js" error when using Node package #838
Comments
I have the same issue here. |
+1 |
1 similar comment
+1 |
Previous issue #837 fix worked for me. |
+1 |
for now just rollback to 2.24
|
Setting moment version to "2.24.0" fixed it for me |
Upgrading moment to 2.25.3 fixed it for me. I had the same issue with moment >2.24.0 <=2.25.2 and moment-timezone 0.5.28. |
+1,I also encountered the same problem |
Fixed since moment 2.25.3 got released |
Moment-timezone 0.5.23 throws the following error when attempting to use:
Moment Timezone requires Moment.js.
I have attempted to upgrade to the latest package version but it doesn't solve the issue. In researching, I found that it's probably related to moment/moment#5481 since moment is a dependency.
Would it be possible/a good idea to change the moment version in the package.json file to exclude the versions of moment which cause this issue?
Thanks!
The text was updated successfully, but these errors were encountered: