T
TanStack3y ago
noble-gold

Cannot find module '@tanstack/react-query' or its corresponding type declarations.ts(2307)

I keep receiving this typescript error and I dont 'know how can I solve it, the package is installed and I'm using it
No description
4 Replies
noble-gold
noble-goldOP3y ago
package.json
exotic-emerald
exotic-emerald3y ago
Have you tried reinstalling the node modules and restarting the TypeScript server?
noble-gold
noble-goldOP3y ago
Deleting and running npm install fixed the issue But I don't understand why it had that behavior exactly...
exotic-emerald
exotic-emerald3y ago
Awesome :reactquery:

Did you find this page helpful?