Error "RequestEvent is missing." for cloudflare build

Hi, I have updated to the latest 0.5.4 solid-start beta and started to see this error when building for cloudflare (on 0.4.11 it was not present). Interestingly it is only thrown after my code executed successfully, so there seems to be an issue with actually handling the return or non return of the function. Made a reproduction by using the with-auth example from the repo to make it less likely that it is my own doing. I was wondering if it has to do with the AsyncLocalStorage update in the latest beta and how to resolve this. Somebody got an idea.
1 Reply
Birk Skyum
Birk Skyum4mo ago
fyi - the with-auth example is a bit broken currently, so might not be the best for reproductions. thread here https://discord.com/channels/722131463138705510/1203320729047801877