Skip to content

Admin UI not working - "Invalid namespace" #4981

Answered by rChaoz
rChaoz asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the help! I am using SvelteKit and I was doing the call to instrument() in my hooks.server.ts file, but it seems like it's not evaluated until the server receives it's first request. Since the request to /socket.io is caught before it reaches SvelteKit, the hooks file was never evaluated.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@rChaoz
Comment options

@rChaoz
Comment options

@darrachequesne
Comment options

@rChaoz
Comment options

Answer selected by rChaoz
@darrachequesne
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants