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

Problem with moment 2.25.0 and node 14.1.0 #206

Open
hamidne opened this issue May 1, 2020 · 2 comments
Open

Problem with moment 2.25.0 and node 14.1.0 #206

hamidne opened this issue May 1, 2020 · 2 comments

Comments

@hamidne
Copy link

hamidne commented May 1, 2020

I have recently update node version and upgrade packages and get this error when run project:

OS: macOS 10.15.3
Browser: Google Chrome 81.0.4044.129

Uncaught TypeError: moment.localeData is not a function
    at eval (index.js?a67b:200)
    at Object../node_modules/moment-jalaali/index.js (vendors.app.js:3616)
    at __webpack_require__ (runtime.js:854)
    at fn (runtime.js:151)
    at eval (Model.js:26)
    at Module../models/Model.js (app.js:978)
    at __webpack_require__ (runtime.js:854)
    at fn (runtime.js:151)
    at eval (AttributeGroup.js:16)
    at Module../models/AttributeGroup.js (app.js:930)
@hamidne hamidne changed the title problem with moment 2.25.0 and node 14.1.0 Problem with moment 2.25.0 and node 14.1.0 May 1, 2020
@samanar
Copy link

samanar commented May 2, 2020

i faced the same problem too . its not compatible with new version of moment

@meness
Copy link

meness commented May 18, 2020

It probably was an issue with moment itself because it works perfectly with the most recent version of moment. Please update your moment to version 2.25.3. If it still exists, please share a working example to demonstrate the issue, use https://codesandbox.io/ for instance.

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

No branches or pull requests

3 participants