Skip to content

Cannot read property 'useContext' of null #912

Description

@vinils

Description

problem happened after changing default project to return an element ("Text") mainly on windows

Image Image

i tested it in different enviroments and OS. was able to make it work only 1 version of ubuntu

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Image

Link to repro

notpublished

Environment

@react-native-community/cli": "latest"
nvm -v 1.2.2
npm -v 11.6.2
yarn -v 1.22.22

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions