Skip to content

Adding additional packages to common makes react-native build fail #13

@DennisOosterling

Description

@DennisOosterling

Hi Ben,

First of all thanks a lot for making the video series, it saved me a lot of time fiddling with configurations. An issue that I keep having though is that if I add additional packages to the common folder (let's say mobx-react-lite for example) The react native build will fail with the following message:
image

It is actually present in:
/Users/dennis/Documents/minibrew-rnw-poc/node_modules

If I add the packages to the app package.json and set it to not hoist it will build succesfully. Have you ever seen this issue or do you know how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions