You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to recreate this issue on a fresh React app w/ pnpm. The issue is related to how pnpm expects my package.json to specify the location of the types for this library. Adding an entry in exports for types fixes the issue.
Hello guys,
awesome work, the toggle is really cute and I wanted to use it for a small project of mine.
Unfortunately I cannot figure out why I have this error.
You can directly use my repo to reproduce I guess.
You need pnpm to install and start dev server.
https://github.com/SergioArrighi/portfolio/
Thanks and best regards
The text was updated successfully, but these errors were encountered: