Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

[BUG] Error: Unable to resolve module ../package.json #86

Description

@0kzh

New issue checklist

  • I have reviewed the README and documentation
  • I have searched existing issues and this is not a duplicate
  • I have attempted to reproduce the issue and include an example project.

General information

  • @superwall/react-native-superwall version: 2.1.0
  • React Native version: 0.76.9
  • Expo version (if applicable): 52
  • Platform affected (Android and/or iOS): iOS
  • OS versions affected, e.g. iOS 18.3.1 (if applicable): All
  • Devices/Simulators affected: All
  • Reproducible in the example app? (Yes/No): No
  • Related issues:

Describe the bug

Getting error resolving package.json, the path seems to be wrong

Before
Image

Logs from Expo EAS, it's trying to resolve from lib

Image

Steps to reproduce

Fix is to change it to ../../package.json

The target folder is 2 levels down
Image

Other Information

See above

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions