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
NotLuksus14mo ago
Did you resolve this?
BootesVoid
BootesVoidOP14mo ago
Yes you have to turn off vercel authentication
NotLuksus
NotLuksus14mo ago
This is the most random fix of all time But thanks a lot
seriouslag
seriouslag14mo ago
Had the same issue, turning off vercel auth worked to resolve it.
SscottH
SscottH14mo 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...
Want results from more Discord servers?
Add your server