Skip to content

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

Closed
@mohammad-khosrojerdi

Description

@mohammad-khosrojerdi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugRan CommandsOne of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.Tech: Bundler 📦This issue is related to the bundler (Metro, Haul, etc) used.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions