Tuesday, 2 May 2017

Unable to resolve module `react/lib/ReactComponentTreeHook`

I'm attempting to upgrade React Native and I'm running into the following:

error: bundling: UnableToResolveError: Unable to resolve module `react/lib/ReactComponentTreeHook` from `/Users/anthony/dev/apptova-react/node_modules/react-native/Libraries/Performance/Systrace.js`: Module does not exist in the module map or in these directories:
  /Users/anthony/dev/apptova-react/node_modules/react-native/node_modules/react/lib
,   /Users/anthony/dev/apptova-react/node_modules/react/lib

I'm so confused. I can't find any library named ReactComponentTreeHook in node_modules, anywhere.

I've tried removing the node_modules folder and reinstalling, nada. I've also cleared watchman watches and reset the packager cache.



via callmetwan

No comments:

Post a Comment