Reported by @flybayer
I just started getting this error today :thinking_face: Any ideas why? I鈥檝e wiped node_modules, etc. Prisma cli & client on 2.9.0
(node:29137) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '_clientVersion' of undefined
at $connect (/Users/b/c/ahts/homeschool-boss/node_modules/@prisma/client/runtime/index.js:201:14906)
Everything still works, even though this error keeps getting printed
Note: It should currently not affect any functionality.
@Jolg42 do you have any reproduction path? I have zero idea how can I reproduce this. I tried a clean install and everything looks fine.
@pantharshit00 I just noticed that a lot of people upvoted this issue 馃憖
Unfortunately I do not have a reproduction.
Only thing we have is an internal discussion here https://prisma-company.slack.com/archives/CEYCG2MCN/p1603721719254000
And I asked @flybayer to reproduce with latest 2.10.1 but I can鈥檛 test in 2.10.1 because of https://github.com/prisma/prisma/issues/4098
If anyone has reproduced with version 2.10 please let us know if you have a reproduction / what kind of environment you have 馃槂
Update: appears to be caused by some code in blitz: https://github.com/blitz-js/blitz/issues/1407
Was indeed caused by Blitz. You can close this.
Most helpful comment
Update: appears to be caused by some code in blitz: https://github.com/blitz-js/blitz/issues/1407