-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
While trying to resolve module immer@10.0.2
React Native
#1058
While trying to resolve module immer@10.0.2
React Native
#1058
Comments
Having the same issue, it's preventing us from upgrading. 😞 |
The package.json's main file points to cc @markerikson did you get similar reports for Redux, since we follow basically the same module config? |
None of our changes are officially released yet :) They're all still in beta. (Related, I put up a blog post last week recapping all my efforts to modernize the Redux packages, including some mentions of helping Immer: https://blog.isquaredsoftware.com/2023/08/esm-modernization-lessons/ ) Unfortunately I don't use RN myself, so I don't have an easy way to repro / check on this. |
Possible solution is mentioned here: #1065 (comment) |
I think immer@10.0.3-beta solves it for everyone. Would someone mind verifying? Then I'll cut an official release. |
@mweststrate I tried 10.0.3-beta in a React Native app that wasn't working with previous 10.x versions, and can confirm 10.0.3-beta fixes the issue 👍 |
🎉 This issue has been resolved in version 10.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Error: While trying to resolve module
immer
from file/app/screens/comment.tsx
, the package/build/node_modules/immer/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (/node_modules/immer/dist/immer.mjs
. Indeed, none of these files existOriginally posted by @nhchuongchkst19 in #331 (comment)
The text was updated successfully, but these errors were encountered: