uploadthing server SDK inside tRPC route (monorepo)
Hello everyone š
I'm using the "create-t3-turbo" template and uploadthing, everything works well BUUUUUUUT...
I trigger sometimes from the tRPC api route the uploadthing SDK (UTApi)
Adding the uploadthing package inside the "package/api/package.json" request the following dependencies "react" and "react-dom"
From what I understand the uploadthing package contains everything for the UI and the API but inside the tRPC route the UI isn't necessary so is there a specific package I should use instead of the full uploadthing or is there something wrong to use uploadthing UTApi inside the tRPC route ?
here is the error thrown in the terminal when installing/uploading packages :
I inspected the package-lock file and it s well the uploadthing that request does packages.
In advance thanks a lot for your kind help š
0 Replies