Skip to content

Question: why after running react-native run, say me "Unable to resolve module" #26408

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
mohammad-khosrojerdi opened this issue Sep 12, 2019 · 1 comment
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. Type: Question Issues that are actually questions and not bug reports.

Comments

@mohammad-khosrojerdi
Copy link

hi, i have a monorepo project with lerna and i have app, web and common packages in monorepo folder. my app package is react-native project and my web package is react-native-web project. i add common dependency in web and app package from lerna add command. the result of my web project is fine but when i run app project, alert me "Unable to resolve module". while i find the common folder in node_modules folder in app package root. why react-native not found my common dependency?

Screenshot from 2019-09-12 08-43-26

Screenshot from 2019-09-12 08-49-19

@mohammad-khosrojerdi mohammad-khosrojerdi added the Type: Question Issues that are actually questions and not bug reports. label Sep 12, 2019
@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Sep 12, 2019
@react-native-bot
Copy link
Collaborator

We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

👉 Click here if you want to report a reproducible bug or regression in React Native.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: No Template labels Sep 12, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Oct 3, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 3, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. Type: Question Issues that are actually questions and not bug reports.
Projects
None yet
Development

No branches or pull requests

2 participants