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
shikishikichangchang
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
shikishikichangchang
seems like aws lambda is causing issues deployed on vercel too and it works