Session not available in hooks.ts #4834
Unanswered
nine-2-five
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, can someone explain this screenshot from
npm run build
? The part where the user is undefined, and the yellow redirect in terminal output.It is related to this hook, which gets the user from sk-auth lib's session. It works when
npm run dev
, but not inside docker whennode ./build/index.js
Beta Was this translation helpful? Give feedback.
All reactions