【发布时间】:2021-05-20 21:23:05
【问题描述】:
我正在尝试在我的项目中使用 UI Kitten,但不知道如何在 Expo 上安装 UI Kitten。
expo install @ui-kitten/eva-icons @eva-design/eva @ui-kitten/components react-native-svg
错误:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react-native-svg@12.1.0
npm ERR! node_modules/react-native-svg
npm ERR! react-native-svg@"12.1.0" from the root project
npm ERR! Could not resolve dependency:
npm ERR! peer react-native-svg@"^9.13.6" from @ui-kitten/components@5.1.0
npm ERR! node_modules/@ui-kitten/components
npm ERR! @ui-kitten/components@"*" from the root project
npm ERR! peer @ui-kitten/components@"5.1.0" from @ui-kitten/eva-icons@5.1.0
npm ERR! node_modules/@ui-kitten/eva-icons
npm ERR! @ui-kitten/eva-icons@"*" from the root project
【问题讨论】:
标签: react-native expo react-native-ui-kitten