Skip to content
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

“However, this package itself specifies a main module field”, why? #26380

Closed
Staryixing opened this issue Sep 9, 2019 · 8 comments
Closed
Labels
Bug Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@Staryixing
Copy link

bundling failed: Error: While trying to resolve module react-navigation from file /Users/macos/ant-design-demo01/cai-rn-demo/caiDemo/App/App.js, the package /Users/macos/ant-design-demo01/cai-rn-demo/caiDemo/node_modules/react-navigation/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved

@Staryixing Staryixing added the Bug label Sep 9, 2019
@Staryixing
Copy link
Author

"react-navigation": "^4.0.0"
"react-native": "0.60.5",

@react-native-bot
Copy link
Collaborator

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?

👉 Click here if you want to take another look at the Bug Report issue template.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: Needs More Information labels Sep 9, 2019
@garmon25
Copy link

i am also having this issue as well same
"react-native": "0.60.5",
"react-navigation-stack": "^1.7.3"

@Staryixing
Copy link
Author

Are you using ios or android?

I use ios
Before, the third-party library needed react-native link XXX(the third-party library)
Now I use CocoaPods
cd ios
pod install
cd..

@alive-vietnam-ti
Copy link

I have a same issue

"react-native": "0.60.5",
"react-navigation": "^4.0.10",

@prateekagarwal721
Copy link

i am also getting the same issue

"react-native": "0.60.5

@stale
Copy link

stale bot commented Jan 7, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jan 7, 2020
@stale
Copy link

stale bot commented Jan 14, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Jan 14, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Jan 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

5 participants