mario.p
WWasp
•Created by mario.p on 2/17/2025 in #🙋questions
"Property 'value' does not exist on type XYZ"- but it exists. What am I doing wrong?
Hi everyone! In advance I would say that I am new to this technology and I am stuck with something that looks like a bug in WASP but I am not sure.
The error I receive when the build fails: Property 'user' does not exist on type '{ id: number; userId: string; }
The code:
File mypage.tsx
This is my operations file
File operations.ts
File Schema.prisma
What I have already tried that didn't work:
- wasp clean
- Adding new fields to the UserInstructor model and running
wasp db dev-migrate
I am working on Ubuntu 22 with Wasp 0.16.2
I hope someone can help me 🙂
Thanks!10 replies