customerio / customerio/customerio-reactnative

Can't install Pods when using pnpm

Open
#381 6 comments 3 reactions 0 assignees View on GitHub
enhancement Support Escalation
Dominant language
TypeScript
Stars
40
Forks
16
Avg merge
1d 1h
Merged PRs (30d)
11

Description

**SDK version:** 4.2.1

**Environment:** Development

**Are logs available?**
```
⚠️ Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: There are multiple dependencies with different sources for `customerio-reactnative` in `Podfile`:

- customerio-reactnative (from `../node_modules/customerio-reactnative`)
- customerio-reactnative/apn (from `../node_modules/.pnpm/customerio-reactnative@4.2.1_react-native@0.74.5_@babel+core@7.26.7_@babel+preset-env@7_06e540787e821bc5aa9d6cc4e047b81d/node_modules/customerio-reactnative`)

pod install --repo-update --ansi exited with non-zero code: 1
```

**Describe the bug**
Can't install using pnpm due to dependency issues

**To Reproduce**
- Run `pnpm add customerio-reactnative@4.2.1`
- Run `npx expo prebuild --clean` or `cd ios && pod install`

**Expected behavior**
- Should install without issue

**Screenshots**

**Additional context**
This works using npm or yarn

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.