Sveltekit Error: Function called outside component initialization

Migrating from adapter-node. Finished initial setup, got public pages working. But stuck after authentication. In my app user getting redirected to internal pages. Those pages are rendered on server side usually. CF throws 500 and gives following error in the log:
"logs": [
{
"message": [
"Error: Function called outside component initialization"
],
"level": "error",
"timestamp": 1695888842554
}
],
"logs": [
{
"message": [
"Error: Function called outside component initialization"
],
"level": "error",
"timestamp": 1695888842554
}
],
Is there any way to see stack trace? How to debug such things? I tried to comment different files one by one, but this thing is still there.
0 Replies
No replies yetBe the first to reply to this messageJoin