【发布时间】:2020-03-01 04:32:23
【问题描述】:
我在添加 AsyncStorage 依赖项时遇到这些错误 (https://github.com/react-native-community/async-storage)
我使用的是 React Native CLI,而不是 expo,我在项目根目录中运行了“react-native link @react-native-community/async-storage”。
我的问题是当我运行“--clearCache”标志时,也许那是我的问题,我不知道。如果您知道如何运行标志“--clearCache”,请帮助我。
【问题讨论】:
-
尝试在 /ios 目录中运行
pod install。
标签: ios react-native asyncstorage