using gRPC with tRPC

I’m trying to make an api call to a third party api using gRPC (i generated protos for the api & then use grpc-js) inside a tRPC procedure (so approuter -> someprocedure), however I get the error that the underlying node http module is not found, indicating that perhaps it’s running on the browser side, which makes me think that I do not fully understand tRPC.. A simple example that replicates this issue here: https://github.com/trpc/trpc/discussions/5971
GitHub
How to use node modules inside procedure (HTTP) · trpc trpc · Discu...
Ok so this is the most basic question of all, but I have been struggling with this now for two days without finding a solution. I'm trying to do a HTTP request on the backend of a certain route...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server