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
I got below error when using any function in @tanstack/react-query.
Anyone can help me.. plz..!
RN: 0.69.7 (not using expo)
@tanstack/react-query: 5.36.0
Error: While trying to resolve module @tanstack/react-query from file {PROJECT_PATH}/src/screens/Ask/queries/ask-queries.ts, the package {PROJECT_PATH}/node_modules/@tanstack/react-query/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved ({PROJECT_PATH}/node_modules/@tanstack/react-query/build/legacy/index.cjs. Indeed, none of these files exist:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I got below error when using any function in @tanstack/react-query.
Anyone can help me.. plz..!
RN: 0.69.7 (not using expo)
@tanstack/react-query: 5.36.0
Error: While trying to resolve module
@tanstack/react-query
from file{PROJECT_PATH}/src/screens/Ask/queries/ask-queries.ts
, the package{PROJECT_PATH}/node_modules/@tanstack/react-query/package.json
was successfully found. However, this package itself specifies amain
module field that could not be resolved ({PROJECT_PATH}/node_modules/@tanstack/react-query/build/legacy/index.cjs
. Indeed, none of these files exist:*{PROJECT_PATH}/node_modules/@tanstack/react-query/build/legacy/index.cjs/index(.native|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.svg|.native.svg|.svg)
Beta Was this translation helpful? Give feedback.
All reactions