Support for expo 54

未关闭
#52 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
react-native, typescript
领域
mobile

调研方向

首先找到声明 cloudinary-react-native 的 Expo peer dependency 的包元数据,并检查支持的 Expo 版本是如何指定的。使用 Expo 54 重现报告中的 npm install;当依赖解析成功且没有出现此处所示的 peer-dependency 冲突时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Feature request for Cloudinary React Native SDK

Now that expo 54 is here would be great if this library adds support for the same

Describe the problem you’re trying to solve

Getting the following when trying to use this library with expo 54

> npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/expo
npm error   expo@"^54.0.12" from the root project
npm error   peerOptional expo@"*" from @expo/[email protected]
npm error   node_modules/@expo/metro-config
npm error     @expo/metro-config@"54.0.6" from [email protected]
npm error     @expo/metro-config@"~54.0.6" from @expo/[email protected]
npm error     node_modules/expo/node_modules/@expo/cli
npm error       @expo/cli@"54.0.10" from [email protected]
npm error   18 more (babel-preset-expo, expo-asset, expo-crypto, ...)
npm error
npm error Could not resolve dependency:
npm error peer expo@"^50.0.0 || ^51.0.0 || ^52.0.0 || ^53.0.0" from [email protected]
npm error node_modules/cloudinary-react-native
npm error   cloudinary-react-native@"^1.2.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/expo
npm error   peer expo@"^50.0.0 || ^51.0.0 || ^52.0.0 || ^53.0.0" from [email protected]
npm error   node_modules/cloudinary-react-native
npm error     cloudinary-react-native@"^1.2.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
主要语言
TypeScript
星标
28
派生
21
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudinary/cloudinary-react-native 的其他 Issue

查看 cloudinary/cloudinary-react-native 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。