October 21, 2024
Chicago 12, Melborne City, USA
javascript

Module not found: Error: Can't resolve 'react-native' in 'C:\ blah blah blah file location'


I’m looking to implement stack navigation and bottom navigation bar in my new react application. I was initially using a Router to navigate from Log In screen to Sign Up screen but needed to switch once my app got more complex. I am getting about 48 errors from my new strategy and believe it stems from my dependencies or node_modules.

Please let me know if anyone has encountered similar issues. I’ve seen other people posting about this and none of the solutions seem to work. Thanks!

I reinstalled npm multiple times and have single handedly gone through each dependency. This is the exact error I’m getting and they are all similar:

ERROR in ./node_modules/@react-navigation/bottom-tabs/lib/module/utils/useIsKeyboardShown.js 2:0-50



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video