0

Anytime I install Library, whether it is, native base or react-native text-input effects.it gives the same error every time.. I don't know what's causing an issue here.

 error: bundling failed: Error: While trying to resolve module 
native-base`   from file `/home/jas/Hopper/screen/Home.js`, the package ` 
/home/jas/Hopper /node_modules/native-base/package.json` was successfully 
found. However, this package itself specifies a `main` module field that  
could not be resolved (`/home/jas/Hopper/node_modules/native-base/dist
/src/index.js`. Indeed, none of these files exist:
Yash
  • 91
  • 2
  • 13

1 Answers1

1

Delete the build folder in /node_modules/native-base/android/app

gokul p
  • 11
  • 3