Comments (5)
Maybe this is the reason that I get this error after updating the @auth/core
from 0.21.0
to 0.31.0
:
Container | [auth][error] UnknownAction: Cannot parse action at /api/auth/session. Read more at https://errors.authjs.dev#unknownaction
Container | at parseActionAndProviderId (file:///npm/node_modules/@auth/core/lib/utils/web.js:92:15)
Container | at toInternalRequest (file:///npm/node_modules/@auth/core/lib/utils/web.js:24:40)
Container | at Module.Auth (file:///npm/node_modules/@auth/core/index.js:67:35)
Container | at getSessionData (/npm/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:305:50)
Container | at onRequest (/npm/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:244:50)
Container | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Container | at async Object.next (file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:25232:9)
Container | at async runNext (file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:25488:5)
Container | at async file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:26060:26
Container | 5:09:46 AM [vite] Internal server error:
Container | at getSessionData (/npm/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:320:9)
Container | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Container | at async onRequest (/npm/node_modules/@builder.io/qwik-auth/lib/index.qwik.mjs:241:34)
Container | at async Object.next (file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:25232:9)
Container | at async runNext (file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:25488:5)
Container | at async file:///npm/node_modules/@builder.io/qwik-city/vite/index.mjs:26060:26
from qwik.
yup thats the reason
from qwik.
I see the new version 0.2.0
has been released on npm, but it doesn't have any TS declaration files https://www.npmjs.com/package/@builder.io/qwik-auth/v/0.2.0?activeTab=code
from qwik.
I see, thanks for reporting it. I will solve it
from qwik.
Should be fixed now by #6419
Try the newest version of qwik-auth
0.2.1
from qwik.
Related Issues (20)
- [📖] page titles have a non-standard emoji HOT 2
- [🐞] Multiple rewrites paths casuing a RegExp error HOT 1
- [🐞] useLocation() always returns "http" protocol, even though it is on https HOT 3
- [🐞] Qwik website proxytown requests overload
- [🐞] Using components as a jsx output in server$ is not renderable HOT 1
- [📖] Document using inline components to read child components index order
- [📖] Document using barrel files for "dot notation components"
- [🐞] All bundles get prefetched with full priority in PrefetchServiceWorker resulting in error ERR_INSUFFICIENT_RESOURCES
- [🐞]Error: Code(13): Actual value for useContext() can not be found... HOT 2
- [📖] SEO Strategy for Search Terms
- [📖] Component Library HOT 1
- [🐞] <Link scroll={false}... to same path still scrolls HOT 7
- [✨] Improve input types HOT 1
- [🐞] args of the `component$` are not mutable. HOT 3
- [🐞] Error while adding Auth.js support HOT 1
- [📖] Algolia search often points to `/api/qwik` instead of the corresponding route in the docs (e.g. search for useResource)
- [✨]SSG Ignore Authenticated Routes Without Warning HOT 1
- [🐞] SharedArrayBuffer is not defined
- the Source wasn't match code[🐞]
- [🐞] Typescript error in the custom portal code provided on Qwik.dev HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qwik.