Skip to content

Prisma Integration Errors in React Native with Expo: Warnings and Import Failures #16

@nabilhayek

Description

@nabilhayek

Description

When following documentation for in README.md according to the Expo Section I get various warinings/errors in different scenarios.

  1. Creating a PrismaClient instance anywhere in the application gives this warning
    image
  2. Importing import '@prisma/react-native'; anywhere in the application throws this error
    image

Expected Behavior

When following the guidelines outlined in the README.md under the Expo Section, users should be able to integrate Prisma seamlessly into their React Native projects using Expo without encountering warnings or errors mentioned.

Additional Information

The issues described above were observed not only when using the Expo Go app for live testing and development but also during local builds of the application. This was done to ensure that the problems were consistent across different testing environments provided by Expo. Despite trying various configurations and setups in both Expo Go and local builds, the same warnings and errors persisted.

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