syhner / elysia-kickstart

ElysiaJS boilerplate with HTMX, Tailwind, Auth.js, Drizzle, CI. Deploy in one click to Railway or Vercel Edge Functions
https://elysia-kickstart.vercel.app
101 stars 21 forks source link

Use Lucia instead of Auth.js #2

Open syhner opened 9 months ago

syhner commented 9 months ago
patmood commented 3 months ago

Does Auth.js have issues on the edge? I get this server error when using vercel edge functions

EvalError: Code generation from strings disallowed for this context
    at (node_modules/elysia/dist/compose.js:206:4)
    at (node_modules/elysia/dist/index.js:1:2274)
    at (node_modules/elysia/dist/index.js:6:4651)
    at (src/app/api/auth/index.js:5:5)
syhner commented 3 months ago

It does yes with the current setup. This issue will be resolved after Elyisa 1.0 release on March 16th.