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

Bug: date-fns not found after upgrading to @xmtp/[email protected] #115

Closed
humanagent opened this issue Oct 13, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@humanagent
Copy link
Contributor

humanagent commented Oct 13, 2023

Describe the bug

After upgrading to @xmtp/[email protected], a module not found error is encountered preventing the application from functioning correctly.

Module not found: Error: Can't resolve 'date-fns/min' in '/Users/fabrizioguespe/DevRel/my-app/node_modules/@xmtp/react-sdk/lib'
Did you mean 'index.js'?
BREAKING CHANGE: The request 'date-fns/min' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Steps to reproduce the bug

To Reproduce
Steps to reproduce the behavior:

Additional context

  • Node version: v18.16.1
  • Running npm install date-fns does not resolve the issue.
@humanagent humanagent added the bug Something isn't working label Oct 13, 2023
@rygine
Copy link
Collaborator

rygine commented Oct 30, 2023

this was resolved by #125

@rygine rygine closed this as completed Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants