Vojtěch Moravec
Vojtěch Moravec
Yes that solved it, thanks. I suspect, it might have something to do with the `@auth/core` version, since it doesn't happen to me with '0.8.1'. I also solved the problem...
You can look at the source compiled by vueemail here - https://ldseating.vercel.app/api/email/registration API endpoint looks like this: ```ts import { useCompiler } from '#vue-email' export default defineEventHandler(async (event) => {...
Well, sometimes the function even crashes. I'm getting a lot of 500 right now.
I found some errors in logs: ```bash Error loading component Error: [@vue/compiler-sfc] Failed to resolve import source "~/emails/types". Base 50 | import { BaseProps } from '~/emails/types' 51 | 52...
I made a minimal reproduction - https://github.com/v-moravec/vue-email-edge. It is not possible to build for CF Pages and Vercel Edge. Even without the types. @Flowko
Hi, everything seems to be working now, thank you very much. I had some issues, but it seems it was caused by running old version of Nuxt - `3.7.4`, after...
My bad, I tried to build it with wrong preset. We are deploying from Gitlab runner, so I have to specify the Nitro preset. Now I switched to `vercel-edge` and...
Oh, I see. The problem is, that when you removed the preset, Vercel defaults to `vercel` preset. Which means you are deploying to Node environment and not to CF Workers...
Correct, when I remove `vue-email` module from nuxt and EP which calls it, I can successfully deploy to both `vercel-edge` and `cloudflare-pages` (since it's basically the same environment).