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

customParseFormat error only in production #1767

Open
mrwadepro opened this issue Jan 15, 2022 · 2 comments
Open

customParseFormat error only in production #1767

mrwadepro opened this issue Jan 15, 2022 · 2 comments

Comments

@mrwadepro
Copy link

Describe the bug
Production build throws the following error. However, it works fine locally. This package is being used in excelJs as a dependency. I am not using it directly in my project.

Application has thrown an uncaught exception and is terminated:TypeError: Cannot set property 'customParseFormat' of undefinedat D:\home\site\wwwroot\node_modules\dayjs\plugin\customParseFormat.js:1:2697

Information

  • Day.js Version - dayjs@1.10.7
  • OS: [Microsoft Windows [Version 10.0.14393]
@kyleliu-code
Copy link

I guess ur problem is caused by node version.lowering ur node version may help u

@mrwadepro
Copy link
Author

I guess ur problem is caused by node version.lowering ur node version may help u

I tried downgrading to v10.15.2 and unfortunately still have the same issue.

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

2 participants