我正面临错误:
ListView has been removed from react native
错误说使用
Listview
的模块之一是react-native-photo-browser
。
我正在重新安装软件包,但它仍然包含ListView
.
此外,它发生在
node_modules/metro
。我该如何升级它?
谢谢你的帮助。
自从将
react-native-photo-browser
从其来源中删除后,该 npm
项目尚未发布到 ListView
。您可以直接从 github 安装最新版本:
npm install github:halilb/react-native-photo-browser
或
yarn add https://github.com/halilb/react-native-photo-browser
取决于您的包管理器。