Unexpected token
Works fine locally, doesn't work when deployed to AWS via sst.dev. Was working last night. Redeployed the app today with no changes, started failing. Please help
3 Replies
I'm using
"@trpc/client": "next",
"@trpc/next": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
api is working
somehow trpc/client isn't able to reach trpc/server
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1227434671357558884/image.png)
seems like aws lambda is causing issues
deployed on vercel too and it works