dub icon indicating copy to clipboard operation
dub copied to clipboard

Error while deploying to vercel : { ReferenceError: prisma is not defined

Open zakimzf opened this issue 1 year ago • 2 comments

@steven-tey I am very sorry to bug you but i have ran into this problem while deploying dub to vercel ,been at it for about 2 hours straight but my efforts in vain! Please help me figure this error specifically with prisma ( i managed to get all the variables correctly!) It says prisma is not defined. I even fixed the earlier import method which is now outdated with : import { Prisma } from 'prisma/client'; still no success! Hope to hear back from you soon..thanks Screenshot 2023-05-05 191451

zakimzf avatar May 05 '23 13:05 zakimzf

same I am having the same problem, I wish someone can help

timolarra avatar May 05 '23 15:05 timolarra

https://github.com/steven-tey/dub/discussions/147 I'd love to see a guide on how to host easily.

amblerkr avatar May 06 '23 21:05 amblerkr

This should be fixed now since we replaced that route with https://github.com/steven-tey/dub/blob/main/app/%5Bdomain%5D/page.tsx! Sorry about the confusion before!

steven-tey avatar Jul 10 '23 19:07 steven-tey