-
Notifications
You must be signed in to change notification settings - Fork 65
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
Module not found: Error: Can't resolve './locale' in #68
Comments
Hi @ericz1803, thanks for the project :) We are working with docusaurus, to embed the calendar as a component within an MDX page. We have updated to the latest dependencies, but we are still facing some issues. 4:00:43 PM: [WARNING] {"moduleIdentifier":"/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can"t resolve "./locale" in "/opt/build/repo/node_modules/@ericz1803/react-google-calendar/dist"","compilerPath":"client"} Do you think is something related to the component, I am not sure what might be causing the issues. Thanks for the help! |
Hello @ericz1803 This error seems to be caused by raising 'moment' version to "^2.29.4". Reference link: moment/moment#5472 I hope this helps and fixes it. |
Hi @ericz1803, thanks for the awesome project.
We are using this component inside an mdx file using docusaurus. When running the build step, we are getting
the following errors:
[WARNING] {"moduleIdentifier":"/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can't resolve './locale' in '/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist'","compilerPath":"client"}
[WARNING] {"moduleIdentifier":"/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","moduleName":"./node_modules/@ericz1803/react-google-calendar/dist/react-google-calendar.es.js","loc":"2699:33-51","message":"Module not found: Error: Can't resolve './locale' in '/Users/gpenacastellanos/Desktop/develop/conda-forge/conda-dot-org/node_modules/@ericz1803/react-google-calendar/dist'","compilerPath":"server"}
I saw this issue #60, that seems related. Not sure what has changed recently 🤔
Thanks!
The text was updated successfully, but these errors were encountered: