Closed tqvthu-works closed 1 year ago
I have mentioned the fix for this error in my issue (#35) itself.
You need to modify the file node_modules/@adminjs/prisma/lib/Resource.js
and change the line as mentioned in that issue. I am using patch package to do this automatically (google how to use it), but it can be done manually too.
Thank @Yureien
Possibly fixed in 5.0.0
:
https://github.com/SoftwareBrothers/adminjs-prisma/releases/tag/v5.0.0
I am encountering compatibility issues with the following package versions in my project:
"@adminjs/prisma": "^3.0.1", "adminjs": "^6.8.7", "prisma": "^4.16.2",
The initial error I encountered is shown in this screenshot: After researching the issue section, I found a potential solution in this GitHub issue: (https://github.com/SoftwareBrothers/adminjs-prisma/issues/35) However, implementing the solution led to another error, as shown in this screenshot:I would greatly appreciate any assistance or guidance in resolving this issue. Thank you in advance for your help!