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

update/exports - metro compatibility #473

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mvolonnino
Copy link

@mvolonnino mvolonnino commented Jul 29, 2024

Issue:

Metro error: Metro has encountered an error: While trying to resolve module `sonner` from file

What has been done:

  • Update package.json for metro compatibility (for use in expo project)
    • updated the node_modules sonner directory package.json with the updates here and that works for my current Expo sdk 51 project in being able to use the latest version 1.5.0 of sonner.

Screenshots/Videos:

N/A

Copy link

vercel bot commented Jul 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sonner ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2024 11:30pm

@mvolonnino
Copy link
Author

@emilkowalski - awesome job on this project, the toasts are masterful 🤌

Let me know if this works in solving the metro issue and getting sonner working in an Expo project 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant