Merlin G
11/17/2021, 11:54 AMtarget: serverless
issue that has me baffled. I have a branch which throws this error when I run `next build`:
Error: ENOENT: no such file or directory, open '/Users/<my path>/.next/serverless/chunks/schema.prisma'
Which seems like a change to prisma, or to next which has caused the schema.prisma
to go missing, except we pin our dependencies and the versions haven't changed. So what could cause this?
The schema.prisma
file in our repo hasn't moved, and our build scripts haven't changed either. The only changes are to some of our API and the addition of a tsx
page.
Happens with Prisma & client 3.2.1 and 3.5.0