react-native-touchbar icon indicating copy to clipboard operation
react-native-touchbar copied to clipboard

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

Open sriraman opened this issue 7 years ago • 0 comments

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

sriraman avatar Sep 02 '17 09:09 sriraman