\n \u003C/HydrateClient>\n );\n};\n\nexport default Page;\n```\nAll is working on local development is perfect. But when I try to build it-\n\n```\nError occurred prerendering page \"/unavailability\". Read more: https://nextjs.org/docs/messages/prerender-error\nTRPCClientError: Unauthorized request. Please login\n at s.from (/vercel/path0/.next/server/chunks/949.js:3:83107)\n at /vercel/path0/.next/server/chunks/949.js:3:89907\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\nExport encountered an error on /(dashboard)/unavailability/page: /unavailability, exiting the build.\n โจฏ Static worker exited with code: 1 and signal: null\nโELIFECYCLEโ Command failed with exit code 1.\nError: Command \"pnpm run build\" exited with 1\n\n```\n\n\nSo, it is natural that on build time, there is no authentications. But it stopping to build it-\n\n\n\n\n### Link to reproduction\n\nhttps://github.com/wegreet/dashboard-new-design\n\n### To reproduce\n\nJust build it with vercel\n\n### Additional information\n\n_No response_\n\n### ๐จโ๐งโ๐ฆ Contributing\n\n- [ ] ๐โโ๏ธ Yes, I'd be down to file a PR fixing this bug!",[3085,3088],{"name":3086,"color":3087},"๐ป invalid","e4e669",{"name":3021,"color":3022},6441,"bug: TRPC with nextjs 15(App Router) production build failed!","2025-02-05T17:24:47Z","https://github.com/trpc/trpc/issues/6441",0.63992596,{"description":3095,"labels":3096,"number":3101,"owner":3024,"repository":3024,"state":3046,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### Provide environment information\r\n\r\n```\r\n System:\r\n OS: Linux 5.15 Manjaro Linux\r\n CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics\r\n Memory: 7.99 GB / 15.05 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node\r\n Yarn: 1.22.18 - ~/.nvm/versions/node/v16.15.0/bin/yarn\r\n npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm\r\n Browsers:\r\n Firefox: 105.0.3\r\n npmPackages:\r\n @tanstack/react-query: ^4.13.0 => 4.13.0 \r\n @trpc/client: ^10.0.0-rc.1 => 10.0.0-rc.1 \r\n @trpc/react-query: ^10.0.0-rc.1 => 10.0.0-rc.1 \r\n @trpc/server: ^10.0.0-rc.1 => 10.0.0-rc.1 \r\n react: 17.0.1 => 17.0.1 \r\n typescript: ~4.3.5 => 4.3.5 \r\n```\r\n\r\n### Describe the bug\r\n\r\nIt is currently not possible to run `@trpc/react-query` with TypeScript versions older than 4.5 ([see TS changelog](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/#type-on-import-names)). Upgrading to 4.5 fixes this issue.\r\n\r\nThe following is thrown when running `tsc` on TS 4.3:\r\n\r\n\r\n\r\n### Link to reproduction\r\n\r\nhttps://stackblitz.com/edit/github-pe2txe?file=src/main.ts\r\n\r\n### To reproduce\r\n\r\n1. Open the reproduction link\r\n2. Run `npm run tsc`\r\n3. See error\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### ๐จโ๐งโ๐ฆ Contributing\r\n\r\n- [X] ๐โโ๏ธ Yes, I'd be down to file a PR fixing this bug!",[3097,3100],{"name":3098,"color":3099},"๐ documentation / examples","0075ca",{"name":3086,"color":3087},3088,"bug: @trpc/react-query breaks in typescript \u003C 4.5","2022-12-09T12:02:03Z","https://github.com/trpc/trpc/issues/3088",0.640333,{"description":3107,"labels":3108,"number":3109,"owner":3024,"repository":3024,"state":3046,"title":3110,"updated_at":3111,"url":3112,"score":3113},"### Provide environment information\r\n\r\n``` \r\nSystem:\r\n OS: macOS 12.2.1\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 131.52 MB / 32.00 GB\r\n Shell: 3.2.57 - /bin/bash\r\n Binaries:\r\n Node: 18.8.0 - ~/.local/share/nvm/v18.8.0/bin/node\r\n Yarn: 1.22.19 - ~/.local/share/nvm/v18.8.0/bin/yarn\r\n npm: 8.18.0 - ~/.local/share/nvm/v18.8.0/bin/npm\r\n Browsers:\r\n Chrome: 106.0.5249.103\r\n Firefox: 105.0.2\r\n Safari: 15.3\r\n npmPackages:\r\n @trpc/client: ^10.0.0-proxy-beta.17 => 10.0.0-proxy-beta.17\r\n```\r\n\r\n\r\n### Describe the bug\r\n\r\nTypescript can't complete the typing of a query, see discussion https://github.com/trpc/trpc/discussions/2963\r\n\r\n\r\n`Property 'subscribe' does not exist on type 'DecoratedProcedureRecord\u003Cunknown, BuildProcedure\u003C\"subscription\", { _config: RootConfig\u003C{ ctx: {}; meta: {}; errorShape: never; transformer: CombinedDataTransformer; }>; _ctx_out: {}; _input_in: unique symbol; _input_out: unique symbol; _output_in: u\r\n nique symbol; _output_out: unique symbol; _meta: {}; }, Observable\u003C....'.`\r\n\r\n### Link to reproduction\r\n\r\nhttps://github.com/Lilja/trpc-v10-server-needed\r\n\r\n### To reproduce\r\n\r\nOpen up `src/index.ts` and modify the `type {AppRouter}` import, point it to the trpc repo OR a another router.\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### ๐จโ๐งโ๐ฆ Contributing\r\n\r\n- [ ] ๐โโ๏ธ Yes, I'd be down to file a PR fixing this bug!",[],2972,"bug: @trpc/server needed in the frontend for types to work","2022-10-11T08:18:00Z","https://github.com/trpc/trpc/issues/2972",0.64325166,{"description":3115,"labels":3116,"number":3118,"owner":3024,"repository":3024,"state":3046,"title":3119,"updated_at":3120,"url":3121,"score":3122},"### Provide environment information\n\n```\n System:\n OS: Linux 6.8 Debian GNU/Linux 12 (bookworm) 12 (bookworm)\n CPU: (16) x64 AMD Ryzen 7 5800X 8-Core Processor\n Memory: 21.97 GB / 31.34 GB\n Container: Yes\n Shell: 5.2.15 - /bin/bash\n Binaries:\n Node: 20.19.0 - /usr/local/bin/node\n Yarn: 1.22.22 - /usr/local/bin/yarn\n npm: 10.8.2 - /usr/local/bin/npm\n pnpm: 10.4.1 - /usr/local/share/npm-global/bin/pnpm\n npmPackages:\n @tanstack/react-query: ^5.66.0 => 5.66.0 \n @trpc/client: 11.0.0 => 11.1.1 \n @trpc/server: 11.0.0 => 11.1.1 \n react: 19.1.0 => 18.3.1 \n typescript: 5.7.3 => 5.7.3 \n```\n\n### Describe the bug\n\nVersions of @tanstack/react-query above v5.66.0 breaks typing for the return type of getQueriesData.\n\nQuery\n```ts\nconst data = qc.getQueriesData(trpc.productionJob.getAllWithLocationInfinite.infiniteQueryFilter());\n```\n\nv5.74.7\n```ts\n(method) QueryClient.getQueriesData\u003Cunknown, any>(filters: any): [readonly unknown[], unknown][]\n```\n\nv5.66.0\n```ts\n(method) QueryClient.getQueriesData\u003Cunknown, WithRequired\u003CQueryFilters\u003CTRPCInfiniteData\u003C{\n cursor: number;\n locationId?: string | undefined;\n searchTerm?: string | undefined;\n showCompleted?: boolean | undefined;\n showScannedJobsOnly?: boolean | undefined;\n showHighPriorityOnly?: boolean | undefined;\n showProjectType?: \"project\" | ... 2 more ... | undefined;\n projectName?: string | undefined;\n sort?: {\n ...;\n }[] | ... 1 more ... | undefined;\n limit: number;\n}, WithPagination\u003C...>>, TRPCClientErrorLike\u003C...>, TRPCInfiniteData\u003C...>, TRPCQueryKey & {\n ...;\n}>, \"queryKey\">, TRPCInfiniteData\u003C...>>(filters: WithRequired\u003C...>): [...][]\n```\n\n### Link to reproduction\n\nhttps://stackblitz.com/edit/github-gmrngrft?file=src%2Fpages%2Findex.tsx\n\n### To reproduce\n\nCheck the type in repo for `qc.getQueriesData`.\n\n### Additional information\n\n_No response_\n\n### ๐จโ๐งโ๐ฆ Contributing\n\n- [ ] ๐โโ๏ธ Yes, I'd be down to file a PR fixing this bug!",[3117],{"name":3021,"color":3022},6730,"bug: TanStack Query above 5.66.0 breaks data return types","2025-04-29T06:37:45Z","https://github.com/trpc/trpc/issues/6730",0.64385086,["Reactive",3124],{},["Set"],["ShallowReactive",3127],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f5nAPsvT_4nxUjKK7JkjOmIxDZeF7q5HkQbeIdTfDe30":-1},"/trpc/trpc/3971"]