-
-
Notifications
You must be signed in to change notification settings - Fork 851
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
react native can not recognize .mjs
file
#331
Comments
|
@mohsinulhaq probably, you can rename your |
I have since pinned immer version to 2.1.1 and everything is fine |
🎉 This issue has been resolved in version 2.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This error reappears at version 10.0.2 |
Confirm v10 seems to break React Native compatibility (at least for me on RN v0.63.5). Downgrading to v9 fixed the problem for me. |
error: bundling failed: Error: While trying to resolve module
immer
from file/Users/.../src/reducers/uiStateReducer.ts
, the package/Users/.../node_modules/immer/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (/Users/.../node_modules/immer/dist/immer.mjs
.Related to b9f0029#diff-b9cfc7f2cdf78a7f4b91a753d10865a2
The text was updated successfully, but these errors were encountered: