When using findByID, I get the following error in my IDE. IDE is Intellij.
How do I resolve this error?
Anyone have any ideas?
Still no one?
can't reproduce from here, are you on latest payload version?
Is it possible that you need to generate:types and rebuild the CollecitonSlug? I've run into things like that... (sorry that may be so obvious you already discounted it, but have to ask).
👍
@835935135815041075, would be next step, too.
pnpm payload generate:db-schemaAaah I feel so stupid. After rechecking every step I noticed my Node Interpreter being set at v16. The IDE was still set at the node version I installed before switching to NVM.
This is my first project in TypeScript so I was not very aware of these settings.
Thank you so much for replying, even though those were the things I indeed tried to no avail.
Star
Discord
online
Get dedicated engineering support directly from the Payload team.