yinks
yinks4mo 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
yinksOP4mo 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
yinksOP4mo ago
ESlint throws an error on the frontend but doesnt point to anywhere in the code
No description
yinks
yinksOP4mo ago
It's stupid CORS issue. I hate CORS!
backbone
backbone4mo ago
use nginx proxy