Skip to content

UnableToResolveError: Unable to resolve module react/lib/createReactNativeComponentClass from react-native-touchbar/index.js #5

@sriraman

Description

@sriraman

I installed react-native-touchbar and pasted the sample code given in the README.md

When I'm trying to run the app. I'm getting the following error

error: bundling: UnableToResolveError: Unable to resolve module `react/lib/createReactNativeComponentClass` from `/Users/sriraman/Projects/touchbar/node_modules/react-native-touchbar/index.js`: Module does not exist in the module map or in these directories:
  /Users/sriraman/Projects/touchbar/node_modules/react/lib
,   /Users/sriraman/node_modules/react/lib

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