sunnylqm / react-native-storage

local storage wrapper for both react-native and browser. Support size controlling, auto expiring, remote data auto syncing and getting batch data in one query.
MIT License
3.01k stars 268 forks source link

ERROR: The modules ['@react-native-community_async-storage', 'react-native-community_async-storage'] point to the same directory in the file system. Each module must have a unique path. #254

Closed shaxus closed 3 years ago

shaxus commented 4 years ago

Hello, I followed the official installation steps to install react-native-storage and @react-native-community/async-storage, and then build in androidstuio, but reported an error ERROR: The modules ['@react-native-community_async-storage' ,'react-native-community_async-storage'] point to the same directory in the file system. Each module must have a unique path. image

sunnylqm commented 4 years ago

https://github.com/react-native-community/async-storage/issues/302#issuecomment-590823108

shaxus commented 4 years ago

I tried it, deleted @react-native-community_async-storage, and reopened androidstuio build, the error disappeared.