Deimos
Explore posts from serversHow do I redirect properly?
redirect raises an error,
Error signing in as guest: Response {
status: 302, statusText: '', headers: Headers { location: '/in' }, body: null, bodyUsed: false, ok: false, redirected: false, type: 'default', url: '' }
status: 302, statusText: '', headers: Headers { location: '/in' }, body: null, bodyUsed: false, ok: false, redirected: false, type: 'default', url: '' }
24 replies
Empty Password while updating session.
There is password in session config and it is not empty but it keeps saying Empty password.
The error is
Error: Empty password
at seal (file:///E:/Projects/24FM/node_modules/.pnpm/[email protected]/node_modules/iron-webcrypto/dist/index.js:222:11)
at sealSession (file:///E:/Projects/24FM/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1381:24)
at updateSession (file:///E:/Projects/24FM/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1369:26)
at getSession (file:///E:/Projects/24FM/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1355:11)
at async updateSession (file:///E:/Projects/24FM/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1361:60)
at async Module.$$function1 (E:/Projects/24FM/src/lib/session.js:21:19)
at async eval (E:/Projects/24FM/src/lib/auth.js:32:18)
Why is that? Please help me :"(
3 replies
Problem importing useSession from vinxi/http
I'm currently working on SolidStart with Firebase auth. The problem is whenever I try to use useSession() it raises an error saying
Error: Module "node:async_hooks" has been externalized for browser compatibility. Cannot access "node:async_hooks.AsyncLocalStorage" in client code. See https://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
3 replies