Lois
nextjs app router, "fs", "os", "zlib-sync" and trpc experimental edge Router
Environement: Turborepo + pnpm
What's wrong: when I tried to build nextjs, the error is like this warp block https://app.warp.dev/block/h9b0V2covbaCMv8boeSpvc
What I have: a package with discord.js and includes "fs" module, and imported via trpc/[trpc/route.ts in nextjs.
I tried some fixes to configure webpack in next.config liks so, but it didn't work:
I have also disabled edge runtime in trpc edge router, relevant code be:
and
Not sure if more information is needed for help?
2 replies
Hardware IoT API
Maybe it's a wrong place to ask but out of curious: Does anyone have experience building API for hardware/IoT device to control and monitor them from frontend? How's the process? How long did it take? How's the investment come back?
4 replies
transformers, tensor.js, PyTorch and tRPC
dumb question: does anyone has experience with tensorflow.js? is there any major obstacle to use tensorflow.js rather than PyTorch and tensor? Just wondering if there could be any future difficulty using t3 stack while having transformers and embedding models to generate output at the backend
1 replies