I am trying to deploy my Astro template which uses Better Auth. The preview deployment succeeds but when I visit the preview page I am getting a 500 error. From the real-time logs:
[ERROR] Error: No such module "node:os". imported from "chunks/auth_DvzfQAcs.mjs"
I am not familiar with the status of node compatibility of CF workers and I'd appreciate if anyone can give me pointers. Ultimately I would like to figure out if swapping dependencies could get around this or not.