__doei__
❌ Failed to collect page data for api trpc [trpc] ❌
seemingly because of my db url which next js has no business accessing during the build:
```
#17 73.30 TypeError [ERR_INVALID_URL]: Invalid URL
#17 73.30 at new NodeError (node:internal/errors:405:5)
#17 73.30 at new URL (node:internal/url:676:13)
#17 73.30 at /app/.next/server/chunks/313.js:38:992
#17 73.30 at /app/.next/server/chunks/313.js:38:1247
#17 73.30 at ev (/app/.next/server/chunks/313.js:38:3562)
#17 73.30 at 30186 (/app/.next/server/chunks/126.js:1:729)
#17 73.30 at t (/app/.next/server/webpack-runtime.js:1:128)
#17 73.30 at 31765 (/app/.next/server/app/api/trpc/[trpc]/route.js:8:13491)
#17 73.30 at t (/app/.next/server/webpack-runtime.js:1:128)
#17 73.30 at r (/app/.next/server/app/api/trpc/[trpc]/route.js:9:39130) {
#17 73.30 input: 'postgresql://:@db:5432/***',
#17 73.30 code: 'ERR_INVALID_URL'
#17 73.30 }
10 replies
TTCTheo's Typesafe Cult
•Created by filyys on 8/6/2024 in #questions
tRPC error Unhandled Runtime Error
Very quick look here but at first glance you might need to swap the trpc provider and the queryclientprovider so that the queryclient is the parent and trpc provider is the child.
5 replies
DTDrizzle Team
•Created by tzezar on 3/3/2024 in #help
Conditional join
I've tried every way I could come up with, including with
$dynamic
however the types never end up to be correct6 replies
DTDrizzle Team
•Created by tzezar on 3/3/2024 in #help
Conditional join
Exact same question for me.
Conditional joins would be really useful to have generic functions that can adapt their return value to what the caller needs.
6 replies