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

4 Replies
noble-goldOP•3y ago
package.json
exotic-emerald•3y ago
Have you tried reinstalling the node modules and restarting the TypeScript server?
noble-goldOP•3y ago
Deleting and running npm install fixed the issue
But I don't understand why it had that behavior exactly...
exotic-emerald•3y ago
Awesome :reactquery: