```PrismaClientValidationError: Unknown arg `youtu...
# orm-help
h
Copy code
PrismaClientValidationError: Unknown arg `youtube` in data.youtube for type ProjectCreateInput. Did you mean `about`?
I added this as a new migrate and its reflecting in the database as well. but am getting the following error when I try to create the record
r
Make sure you’re running
prisma generate
as a separate command. I assume you’re running on Vercel, so it caches
node_modules
and that might be causing this.
h
oh no 😞
@Ryan any idea where I can run this command in vercel?
I am not able to edit it
@Ryan redeploying is giving these errors now. any idea how to solve this
d
your client version and the cli version are mismatched, its not always a massive problem but can cause errors. Ensure both dependencies have the same version
either upgrade the cli (prisma) to 3.1.1 or downgrade the client (@prisma/client) to 3.0.2
h
when i upgrade in the dev.. how can i make sure vercel doesnt throw this error
n upgrades automatically on the production as well
r
Isn’t Vercel allowing you to change settings?
n upgrades automatically on the production as well
A change in
package.json
should install the newer packages that you have recently upgraded.