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?
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!