Skip to content

[0.45.0] Project roots are incorrect if packager starts when invoking react-native run-ios #14376

@ds300

Description

@ds300

Steps for reproduction

First make sure you have no react-native packager instance running

react-native init Bananas
cd Bananas
react-native run-ios

Effect

I get the error

Cannot find entry file index.ios.js in any of the roots: ["/Users/dshe/code/Bananas/node_modules/react-native/packager"]

image

Workaround

Start the packager from yarn start

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions