I am using preview019 with a SQLite db
Photon sits in a file and being used everywhere
import { Photon } from "@prisma/photon";
export const photon = new Photon();
The initialization caused the problem if I change that to something like export const photon = 123;, then this error goes away.
Maybe I get the initialization wrong? Should not reuse this instance?
The project is next.js v9, api is Now serverless, sits in pages/api
After running next, the 1st render to index works, but go to any page will show the following error:

However, api is working: /api/graphql is working:

anything to do with #1021 ?
I am using
preview019with a SQLite dbPhoton sits in a file and being used everywhere
The initialization caused the problem if I change that to something like
export const photon = 123;, then this error goes away.Maybe I get the initialization wrong? Should not reuse this instance?
The project is next.js v9, api is Now serverless, sits in
pages/apiAfter running

next, the 1st render to index works, but go to any page will show the following error:However, api is working:
/api/graphqlis working:anything to do with #1021 ?