-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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, PNPM Cannot resolve OS #15763
Labels
Comments
Singloo
added a commit
to Singloo/nx
that referenced
this issue
Mar 29, 2023
Sometimes resolver looks for wrong entry file. Add mainFields options solved this problem. Option value respects to the default value of metro option `resolverMainFields` closed nrwl#15763, nrwl#9743
Singloo
added a commit
to Singloo/nx
that referenced
this issue
Mar 29, 2023
To fix the issue: sometimes resolver look for wrong entry file closed nrwl#9743, nrwl#15763
Singloo
added a commit
to Singloo/nx
that referenced
this issue
Mar 29, 2023
Singloo
added a commit
to Singloo/nx
that referenced
this issue
Mar 31, 2023
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
After adding
styled-components
, metro failed to bundle.Seems that nx metro resolver has problems with nodejs builtin modules?
Expected Behavior
Should work properly
GitHub Repo
https://github.com/Singloo/nx-react-native-test
Steps to Reproduce
git clone git@github.com:Singloo/nx-react-native-test.git
pnpm install
pnpm nx run-ios mobile
Nx Report
Failure Logs
get full logs here
Additional Information
No response
The text was updated successfully, but these errors were encountered: