Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProPerty '__PrismaProxy' Doesn't exist #30

Open
CRIIPI11 opened this issue Jul 3, 2024 · 8 comments
Open

ProPerty '__PrismaProxy' Doesn't exist #30

CRIIPI11 opened this issue Jul 3, 2024 · 8 comments

Comments

@CRIIPI11
Copy link

CRIIPI11 commented Jul 3, 2024

When I try to intialize the prisma client on my app, I get the following warning not letting me run queries
D83BC388-273C-4081-9C24-87A86E64F331

@Kureev
Copy link

Kureev commented Jul 10, 2024

Same thing:

"@prisma/client": "^5.16.2",
"@prisma/react-native": "^5.16.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.2",
...

@Kureev
Copy link

Kureev commented Jul 14, 2024

Small update:

  • I've tried multiple versions (various dev versions), no difference
  • Tried Android, same issue
  • Tried both: turbo modules and old bridge arch

@CRIIPI11
Copy link
Author

@Kureev any luck yet ?

@Kureev
Copy link

Kureev commented Jul 28, 2024

@CRIIPI11 Not really. I spent some time looking into this, but it doesn't look like an issue "on the surface", so I'm afraid we will have to wait for an official "fix".

Offtopic: I have a proof of concept for the library similar to react-native-prisma (expo-sqlite + *.prisma schema that generates hooks etc just like Prisma, but it doesn't fully support migrations and there is likely tons of bugs), so I might release something in the future if this lib won't progress to the stable version within reasonable timeframe.

I'm a strong believer in the concept and I absolutely love Prisma, but I have my own business use cases and unfortunately I can't afford to wait for unknown amount of time to plug in the database.

Nevertheless, I hope this library (and this issue in particular) will receive the love it deserves ❤️ . I might drop a link to the lib I'm building once it is more stable and tested.

@Kureev
Copy link

Kureev commented Aug 6, 2024

so just in the case you are interested, there is a draft of the lib that will cover some basic functionality. Many things are missing atm, but it should be good enough for dev preview.

@sorenbs
Copy link
Member

sorenbs commented Aug 20, 2024

Could this be related to the issue and fix described here: #16 (comment) ?

@CRIIPI11
Copy link
Author

@sorenbs Did you try the solution posted in that issue ?

@Kureev
Copy link

Kureev commented Aug 20, 2024

I believe I've been running it with prisma.schema in the root from the very beginning, but will give it another attempt today if I won't forget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants