HI getting Issues in prisma vscode extension

its not giving any problems but just showing red marks in vscode due to new updates of vscode extensions..... i have two schema files working fine as per my intent befor some days now also working fine but showing those problems....
No description
9 Replies
Prisma AI Help
Prisma AI Help4mo ago
You decided to hold for human wisdom. We'll chime in soon! Meanwhile, #ask-ai is there if you need a quick second opinion.
Nurul
Nurul4mo ago
Hi! Can you please confirm if you are on the latest VS Code Prisma extension - 6.7.0?
hari_narayan
hari_narayanOP4mo ago
yes
hari_narayan
hari_narayanOP4mo ago
No description
Ran
Ran4mo ago
Hey, I have the same problem. The issue is that since moving the generated code outside of node_modules (as the deprecation warning recommends) , and the generated code copies the schema (for god knows why), then the workspace detects the schema twice. The source and the copy. It doesn't know how to handle that. It's extremely frustrating. @Nurul ?
Nurul
Nurul4mo ago
This is really strange. I wasn't able to reproduce this. Do you still get this error when the generated client is created outside node_modules?
Ran
Ran4mo ago
Yes. A simple reproduction would be to have your schema under a prisma folder and then your generated code under prisma/generated For now, I have reverted back to not declaring an output and seeing the deprecation warning, but at least my IDE is usable.
hari_narayan
hari_narayanOP3mo ago
this are error and showing in vscode Thanks @Nurul generator client { provider = "prisma-client-js" output = "../../node_modules/@prisma-public/prisma/client" }
No description
No description
hari_narayan
hari_narayanOP3mo ago
For this version 6.5.0 its not giving errors
No description

Did you find this page helpful?