You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This is your Prisma schema file,// learn more about it in the docs: https://pris.ly/d/prisma-schemageneratorclient {provider="prisma-client-js"}datasourcedb {provider="mongodb"url=env("DATABASE_URL")}modelUser {idString@id@default(auto())@map("_id")@db.ObjectIdemailString@uniquenicknameStringgenderStringbirthdayDateTimepasswordStringvalidatedBoolean}
Are you effectively reporting the same problem as #18292?
I guess so, not sure if this is a problem with nestjs compatibility, I tried to locate the problem, it seems that the _engine attribute is always undefined, Node addons seem to be unable to load, when I switch to singleton pattern everything is fine.
Hey @JinYuSha0, could you please provide us with a reproduction? Without it we will not be able to make progress and will end up closing the issue via our internal process. Thanks 🙏
@millsp@SevInf
I'd like to help you, But I can't provide a code repository. If you want to reproduce the issue, try wrapping prisma in a Nest provider, inject it into any service, and access it.
This problem is still there, I can provide code snippets
#23228 could have fixed this and will be included in the next release, but of course a confirmation of it now working as intended would be nice. Could you please try to temporarily install prisma@dev and @prisma/client@dev in your project and see if this fixes the problem?
Activity
janpio commentedon Oct 26, 2023
Are you effectively reporting the same problem as #18292?
JinYuSha0 commentedon Oct 27, 2023
I guess so, not sure if this is a problem with nestjs compatibility, I tried to locate the problem, it seems that the _engine attribute is always undefined, Node addons seem to be unable to load, when I switch to singleton pattern everything is fine.
millsp commentedon Nov 7, 2023
Hey @JinYuSha0, could you please provide us with a reproduction? Without it we will not be able to make progress and will end up closing the issue via our internal process. Thanks 🙏
SevInf commentedon Nov 22, 2023
Hey @JinYuSha0 ,
Did you get a chance to have a look at @millsp's previous comment? It'd be helpful for us to move your issue forward.
Without further information, we'll have to close this issue. Thank you 🙏
JinYuSha0 commentedon Nov 22, 2023
@millsp @SevInf
I'd like to help you, But I can't provide a code repository. If you want to reproduce the issue, try wrapping prisma in a Nest provider, inject it into any service, and access it.
This problem is still there, I can provide code snippets
janpio commentedon Mar 4, 2024
#23228 could have fixed this and will be included in the next release, but of course a confirmation of it now working as intended would be nice. Could you please try to temporarily install
prisma@devand@prisma/client@devin your project and see if this fixes the problem?YoannBuzenet commentedon Mar 7, 2024
I did
npm install prisma@dev @prisma/client@devand I'm happy to say it works. Thank you !
SevInf commentedon Mar 18, 2024
@JinYuSha0 could you confirm that the issue is fixed in 5.11 as well?
Thank you.
jkomyno commentedon Apr 8, 2024
Hey @JinYuSha0, did you manage to try
[email protected]or[email protected]? If so, can you please confirm that it fixes this problem?JinYuSha0 commentedon Apr 12, 2024
@jkomyno @SevInf Sorry I haven't followed that project for a while, I'll take a look at it over the weekend
SevInf commentedon May 3, 2024
I am going to close the issue for now. If it still happens for you for prisma 5.11 or creater, feel free to open a new one.
Thank you!