Skip to content

Can't install Pods when using pnpm #381

@itajenglish

Description

@itajenglish

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/[email protected][email protected]_@[email protected]_@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

Expected behavior

  • Should install without issue

Screenshots

Additional context
This works using npm or yarn

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions