Dylan :]
TTCTheo's Typesafe Cult
•Created by Dylan :] on 3/3/2024 in #questions
Bun Shell and tRPC
Hey everyone, so I've been messing around with the new bun shell (which I had learned of through the bun shell video a few weeks back) and its been really fun. One issues though:
The bun shell works great in a standalone file, but I wanted to put its functionality inside of a tRPC procedure. Whenever it is called this way, Next.js throws a module not found error, saying it can't resolve "bun". The bun shell works and resolves fine anywhere else in the project though.
I get the tech is rather new, and this situation is very specific, but any insight would be appreciated!!!
2 replies