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?
5 Replies
Did you resolve this?
Yes you have to turn off vercel authentication
This is the most random fix of all time
But thanks a lot
Had the same issue, turning off vercel auth worked to resolve it.
https://github.com/t3-oss/create-t3-app/issues/1639 Should be fixed in v7.24.0
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...