yinks
yinks2mo ago

Suddenly started getting a `TRPCClientError: Unexpected token '<', "<!DOCTYPE...` error

And my whole app can't run, I've been at it for the whole day. Using React Vite with the React Query integration
4 Replies
yinks
yinks2mo ago
err TRPCClientError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON at _TRPCClientError.from (chunk-JJSVPVKZ.js?v=ba80d384:1334:12) at chunk-JJSVPVKZ.js?v=ba80d384:1865:42Caused by: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
yinks
yinks2mo ago
ESlint throws an error on the frontend but doesnt point to anywhere in the code
No description
yinks
yinks2mo ago
It's stupid CORS issue. I hate CORS!
backbone
backbone2mo ago
use nginx proxy