I get TRPCClientError: Unexpected token ; in JSON position 4

This only happens in my vercel build, locally seems to run fine. Any idea what might be causing this?
No description
5 Replies
NotLuksus
NotLuksus7mo ago
Did you resolve this?
BootesVoid
BootesVoid7mo ago
Yes you have to turn off vercel authentication
NotLuksus
NotLuksus7mo ago
This is the most random fix of all time But thanks a lot
seriouslag
seriouslag7mo ago
Had the same issue, turning off vercel auth worked to resolve it.
sscotth
sscotth7mo ago
GitHub
bug: tRPC error boilerplate code deploying to vercel breaks site · ...
Provide environment information System: OS: macOS 14.0 CPU: (8) arm64 Apple M2 Memory: 80.75 MB / 8.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.8.0 - /opt/homebrew/bin/node npm: 10.2.0 - /opt/ho...