Dhravya / cloudflare-saas-stack

Quickly make and deploy full-stack apps with database, auth, styling, storage etc. figured out for you. Add all primitives you want.
3.07k stars 231 forks source link

Error while developing #25

Closed crazyrunsnail closed 3 months ago

crazyrunsnail commented 3 months ago

Hi, @Dhravya Thanks for you excellent works! Everything is all right only while I runned in development mode with bun run dev, and then i visited the home page click Login in google and there is nothing happens , and I found there is a error in the console.

Screenshot 2024-07-24 at 23 17 52

OS: macos Node: v20.12.0 Browser: both chrome and firefox are latest version

Dhravya commented 3 months ago

Hi! did you add the required environment variables? google ids

crazyrunsnail commented 3 months ago

ids

Yes, I add it in the file .dev.vars and everythins is all right when i deploy to cf and add variable via the cf console.

they are same ids

crazyrunsnail commented 3 months ago

image

there is my .dev.var

DiogoDuart3 commented 3 months ago

That error is related to hydration, and its caused by the themes package

Dhravya commented 3 months ago

Yeah, not sure how to fix that xD

crazyrunsnail commented 3 months ago

Can I just not use the theme?

curtis-allan commented 3 months ago

Can just add suppressHydrationWarning prop into the html tag in your app/layout.tsx file to remove the console warning in development

crazyrunsnail commented 3 months ago

@curtis-allan Thanks, it works!