Closed Batsirai-sudo closed 2 years ago
Are you using react-navigation v6 too?
I'm also getting same error, "react-navigation": "^4.3.7"
i think there's really a dependency issue with this lib, a react navigation developer had something to say it here
That's because when the module is installed, ./node_modules/react-native-animated-nav-tab-bar/
only has three files: package.json
, LICENSE
and README.md
.
This issue has been fixed in 3.1.7, please upgrade :)
error: Error: While trying to resolve module
react-native-animated-nav-tab-bar
from file/Users/mac/{**My path to index**}/index.tsx
, the package/Users/mac/{**My path to node_modules**}/node_modules/react-native-animated-nav-tab-bar/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved (/Users/mac/{**My path to node_modules**}/node_modules/react-native-animated-nav-tab-bar/dist/lib/index.js
. Indeed, none of these files exist: