Merlin G
11/19/2021, 1:54 PMgetServerSideProps
we get an error when next build
is run with `target: serverless`:
Error: ENOENT: no such file or directory, open '/home/runner/work/<my path>/.next/serverless/chunks/schema.prisma
Has anyone seen anything like this? It seems particularly tricky to debug given that it only happens when prisma client calls are added to getServerSideProps
Merlin G
11/19/2021, 2:23 PMserverless-next.js
library doesn't appear to be the cause: https://github.com/serverless-nextjs/serverless-next.js/issues/1749