prisma ctx not recognizing types after schema update
I have been working with create-t3-app and have stumbled upon something that I might not be doing right so I'm trying to check here to see if I'm missing a step in the process or what could be the issue.
I have initially created a schema for my app for prisma, but the problem is every time I go back and update it, push it and generate the typescript files, I get this weird message all the time unless I delete the .next and node_modules folders. Do you guys have any suggestion on to why this is happening or how can I manage this?
Any help is greatly appreciated!
![](https://utfs.io/f/6e08defa-6228-47df-a679-e5e4fdb931ad-1nq2cb.png)
18 Replies
Information about the environment:
OS: Windows 10
WebStorm: WS-223.8836.27
NodeJS: 16.17.1
Restart your ES lint server! Generally after your do your db push, you should also do prisma generate and then, stop and start your dev server and restart ts and es lint servers
Worked like magic!
Thank you so much @Yiannis , that was it
Just don't forget to mark the question as completed
I don't have the Apps option, how can I do that? I was looking to do that
You mean the app directory ? That is still in beta and it brakes the rest of stack so it's disabled
This one I don't have that option
just click on the three dots next to your question message body
![](https://utfs.io/f/c6f94aa9-2d58-4d54-9391-a89fc1c7514a-h4abd.25.06_AM.png)
![](https://utfs.io/f/ff5e9a20-fa44-488c-9a64-0d23fc4f0b54-1nq2cb.png)
That's interesting 😄 maybe the mods do it then
Sorry, didn't know
Yeah it's weird cause I got the notification but I don't have the option
can you do it on my message ? It says on the solution message
same dialog