Prisma integration example fails in build
Could someone help me try to reproduce a bug I get in the official
1.
2. Select the following options: Solid-Start: Yes, TypeScript: Yes, template: "with-prisma"
3. cd into project folder
4.
5.
6.
7.
8. Open "localhost:3000". Interact with the site. Register a user, login, logout. Observe correct behavior.
9.
10.
11. Open "localhost:3000". Interact with the site. Register a user, login, logout. Observe it's impossible. Error:
I wrote an issue on the Prisma repo here: https://github.com/prisma/prisma/issues/24845
but I don't see other people with this error so it might be something in the Solid/Vinxi ecosystem.
npm init solid@latest?1.
npm init solid@latest2. Select the following options: Solid-Start: Yes, TypeScript: Yes, template: "with-prisma"
3. cd into project folder
4.
npm install5.
npx prisma generate6.
npx prisma migrate dev7.
npm run dev8. Open "localhost:3000". Interact with the site. Register a user, login, logout. Observe correct behavior.
9.
npm run build10.
node .output/server/index.mjs11. Open "localhost:3000". Interact with the site. Register a user, login, logout. Observe it's impossible. Error:
Invalid prisma.user.findUnique() invocation: The table main.User does not exist in the current database.I wrote an issue on the Prisma repo here: https://github.com/prisma/prisma/issues/24845
but I don't see other people with this error so it might be something in the Solid/Vinxi ecosystem.
