test_1
test_12y ago

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
Solution:
kk i fixed it
Jump to solution
3 Replies
test_1
test_1OP2y ago
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
test_1
test_12y ago
kk i fixed it
test_1
test_1OP2y ago
let me know if there is better way to deploy monorepo with /server/ and /client/ , i am deploying them seperately

Did you find this page helpful?