I created a new app of react native as explained into new documentation of react native 0.61 they mentioned that to remove react-native CLI because it is creating issues....see below image:
But now I'm trying to add async storage from yarn add @react-native-community/async-storage
And this is giving me an error. it is not adding to my project.
I'm not getting any error in installing package but it is not adding in package.json file I also tried to add native-base then I ran react-native link that aslo not added to package.json and it also gave me error:
warn Package @react-native-community/async-storage has been ignored because it contains invalid configuration. Reason: Cannot find module '@react-native-community/async-storage/package.json'
error EACCES: permission denied, scandir '/home/ajay/project/newEON/android/app/build/generated/not_namespaced_r_class_sources/debug/r/com'. Run CLI with --verbose flag for more details.