You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project which uses auth/core and qwik-auth, after upgrading @auth/core from 0.21.0 to 0.22.0 I get this error right after my project is built,
[auth][error] UnknownAction: Cannot parse action at /api/auth/session .Read more at https://errors.authjs.dev#unknownaction
at parseActionAndProviderId (/home/projects/qwik-starter/node_modules/@auth/core/lib/utils/web.js:122:15)
at Module.toInternalRequest (/home/projects/qwik-starter/node_modules/@auth/core/lib/utils/web.js:52:40)
at Module.Auth (/home/projects/qwik-starter/node_modules/@auth/core/index.js:82:53)
at getSessionData (/home/projects/qwik-starter/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:305:50)
at onRequest (/home/projects/qwik-starter/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:244:50)
at async Object.next (/home/projects/qwik-starter/node_modules/@builder.io/qwik-city/vite/index.cjs:24850:9)
at async runNext (/home/projects/qwik-starter/node_modules/@builder.io/qwik-city/vite/index.cjs:25095:5)
at async eval (/home/projects/qwik-starter/node_modules/@builder.io/qwik-city/vite/index.cjs:25663:26)
1:43:04 PM [vite] Internal server error: `line` must be greater than 0 (lines start at line 1)
at originalPositionFor$1 (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:10341:19)
at eval (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50714:25)
at eval (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50705:21)
at ssrRewriteStacktrace (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50704:10)
at ssrFixStacktrace (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:50757:24)
at Object.ssrFixStacktrace (/home/projects/qwik-starter/node_modules/vite/dist/node/chunks/dep-9A4-l-43.js:60441:13)
at eval (/home/projects/qwik-starter/node_modules/@builder.io/qwik-city/vite/index.cjs:25682:18)
Which component is affected?
Qwik Runtime
Describe the bug
I have a project which uses auth/core and qwik-auth, after upgrading @auth/core from
0.21.0
to0.22.0
I get this error right after my project is built,Reproduction
https://stackblitz.com/edit/qwik-starter-96yysh?file=package.json,src%2Froutes%2Fplugin%40account.ts,.env
Steps to reproduce
package.json
which looking like this:npm run dev
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: