You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following errors occur after updating the dependencies to the latest version in a fresh T3 scaffolded app:
⨯ ./src/trpc/server.ts:3:1
Module not found: Can't resolve '@trpc/react-query/rsc' 1 | import "server-only"; 2 |> 3 | import { createHydrationHelpers } from "@trpc/react-query/rsc"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 4 | import { headers } from "next/headers"; 5 | import { cache } from "react"; 6 |https://nextjs.org/docs/messages/module-not-found./node_modules/@trpc/react-query/dist/createHooksInternal-063195fc.mjs:4:1Export hashQueryKey doesn't exist in target module
2 | import { g as getArrayQueryKey } from './getArrayQueryKey-86134f8b.mjs';
3 | import { createTRPCClientProxy, createTRPCClient } from '@trpc/client';> 4 | import { useQuery, useQueryClient, useMutation, hashQueryKey, useInfiniteQuery, useQueries } from '@tanstack/react-query';| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | import React, { createContext, useMemo, useState, useEffect, useCallback, useRef } from 'react';
6 |
7 | /**
The export hashQueryKey was not found in module [project]/node_modules/@tanstack/react-query/build/modern/index.js [app-client] (ecmascript) <exports>.
Did you mean to import hashKey?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist../node_modules/@trpc/react-query/dist/createHooksInternal-063195fc.mjs:4:1Export hashQueryKey doesn't exist in target module
2 | import { g as getArrayQueryKey } from './getArrayQueryKey-86134f8b.mjs';
3 | import { createTRPCClientProxy, createTRPCClient } from '@trpc/client';> 4 | import { useQuery, useQueryClient, useMutation, hashQueryKey, useInfiniteQuery, useQueries } from '@tanstack/react-query';| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | import React, { createContext, useMemo, useState, useEffect, useCallback, useRef } from 'react';
6 |
7 | /**
The export hashQueryKey was not found in module [project]/node_modules/@tanstack/react-query/build/modern/index.js [app-ssr] (ecmascript) <exports>.
Did you mean to import hashKey?
All exports of the module are statically known (It doesn't have dynamic exports). So it's known statically that the requested export doesn't exist. GET / 500 in 33ms
Provide environment information
System:
Binaries:
Describe the bug
The following errors occur after updating the dependencies to the latest version in a fresh T3 scaffolded app:
Reproduction repo
https://github.com/mmikhan/tt
To reproduce
bun update --latest
to update all the dependenciesbun dev
Visit the homepage and see the errors
Additional information
No response
The text was updated successfully, but these errors were encountered: