arqex / arqex/react-datetime

Module not found: Error: Can't resolve 'moment' in 'node_modules/react-datetime/dist'

Open
#873 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I'm encountering the following error while using react-datetime:
`Module not found: Error: Can't resolve 'moment' in 'node_modules/react-datetime/dist'`
However, I don't want to install moment in my project. Is there a way to use react-datetime without needing moment as a dependency?

Could you provide guidance on how to resolve this issue or suggest alternatives to avoid installing moment?

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.