create-t3-app help : something weird with .env
I followed along with the T3 Stack Tutorial - FROM 0 TO PROD FOR $0 video. I have watched these steps in the video 4 times now to make sure I've followed them correctly.
My .env is set up. The DATABASE_URL is added into Vercel as an Environment Variable. I changed
schema.prisma
. My .env
looks like the below. It runs with npm run dev
.
Vercel error:
4 Replies
Turned out it was because I enabled NextAppRouter. Once disabled, everything worked.
I have the same error, could you tell me how you disabled NextAppRouter please.
I did not disable it. Instead, I just initialized a brand new project with
npm create t3-app@latest
and made sure to not use NextAppRouterthanks. i will try again. 🙂