Module not found: Error: Can't resolve 'moment' in 'node_modules/react-datetime/dist'
Open
- 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
Assessment
This issue has not been assessed yet.