No hydration during local development with next-on-pages

I have a small Next.js project. I added a counter with client-side functionality, but my page is not hydrated when I run it locally. If I deploy it to Cloudflare Pages, it's running as expected. Anyone faced such an issue?
I am executing npx @cloudflare/next-on-pages --watch and then npx wrangler pages dev .vercel/output/static --compatibility-flags=streams_enable_constructors --kv=FOO.
Was this page helpful?