Using SolidStart's prisma template app, getting odd error & crash from the route.
Crash log:
The crash happens 50% of the time on hard refresh on this route. Sometimes it works, sometimes it crashes.
Here's the route file:
Also, I get this console output (server side):
5 Replies
It's strange that the console.log() prints this twice and first with
undefined
. I can see that getUser() works every time, it loads the data from the db correctly.
This console.log() is from the server side.
On client side the console.log prints only once: sometimes with undefined
, sometimes with the correct data.
I can create a minimal repo to reproduce.
The crash happens on initial load. If the initial page load works, then it works every time after that (a hard refresh).
In crashing line there is this:
I got the same error with the SolidStart tailwincss template app, just out of the box.I am hitting the same issue
same issue, did you find a solution?
Probably a bug but I don't know if it's enough to mention it here?
I was able to resolve this by clearing node_modules and getting fresh dependencies install