when i deploy frontend trpc fails to compile
im trying to deploy my create-react-app with tRPC to Vercel
it works perfectly fine on localhost
3 Replies
it also works fine when i build the CRA on my local computer and just open the index.html
ok I know the issue but i dont know the fix. its because the frontend code needs node_modules installed on the server folder
Solution
kk i fixed it
let me know if there is better way to deploy monorepo with /server/ and /client/ , i am deploying them seperately