-
-
Notifications
You must be signed in to change notification settings - Fork 533
[BUG] Missing "main" and "module" entries in "package.json" #1000
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
Comments
Also missing:
|
Thanks for reporting, we'll be updating the package soon with a fix for this. |
Please test the official release |
I'm getting an error with
when I run I don't know if it is the new release or me -- I've been working on a project that was using v4.2.21, and updating |
@tsmock try reinstalling all the dependencies on your project. |
I just tried |
Whenever you get the time, please open a new issue with a sample project reproducing this problem. |
I'm facing the same problem, did you manage to solve it? |
@analuizaalvesm Could you please open a new issue with a sample project reproducing this problem? It will help us track down what's wrong. |
I've pinned this dependency to The only place in React-Tooltip that imports |
Hey guys, if this is still an issue, please create a new ticket, this will help us to track existing issues and let other people in the community know about the issue. Thanks for understanding! |
Describe the bug
Missing "main" and "module" entries in "package.json" causes nodejs (npm/yarnpkg) to not find the correct entries
Version of Package
v5.10.5
Regression from #984 . See https://github.com/ReactTooltip/react-tooltip/pull/984/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L21 .
"main" and "module" are still required for compatibility with other tools, such as nodejs. See https://rollupjs.org/introduction/#publishing-es-modules .
Additional context
I believe you want
(the original entries were
)
The text was updated successfully, but these errors were encountered: