Skip to content

Issue with osnap when using pnpm #448

@pfongkye

Description

@pfongkye

Hello, I recently upgraded to latest version of loki (0.28.1 -> 0.31.1) but I am having some issues when installing and running with pnpm:

> loki

(node:59566) UnhandledPromiseRejectionWarning: Error: Cannot find module '@ferocia-oss/osnap/src/ios'
Require stack:
- loki/examples/react/node_modules/.pnpm/@[email protected]/node_modules/@loki/target-native-ios-simulator/src/create-ios-simulator-target.js
...

The dependency is missing the src folder
image

When I ran with yarn, I don't have the same issue. I have the following
image

I think it is an issue with osnap but I could not file an issue on the GitHub project itself.

FYI, I'm using pnpm 7.30.0

Regards,
Pascal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions