Unhandled Runtime Error Error: Cannot find module `@tanstack/react-query`

See original GitHub issue

Provide environment information

Screen Shot 2022-12-22 at 11 35 53 PM

Describe the bug

I am following standard T3 Stack’s tRPC’s configuration and I am not quite sure why I am getting this error. Here is the complete code for it

https://github.com/envless/envless/pull/13

Link to reproduction

https://github.com/envless/envless/pull/13

To reproduce

Here are the steps to reproduce this error:-

Additional information

No response

👨‍👧‍👦 Contributing

  • 🙋‍♂️ Yes, I’d be down to file a PR fixing this bug!

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dahalcommented, Dec 23, 2022

Thanks for trying @sachinraja prolly has something to do with npm cache, basically getting rid of everything and starting over with npm/yarn versions, deleting node_modules and doing those changes on https://github.com/envless/envless/commit/c71461d2096c2984a1ff0ae74b64311f6fd43a29 solved this issue and I am no longer blocked, I have to say, I was about about to give up on Introducing tRPC to the project and move to REST to solve immediate features. 🎉

0reactions
sachinrajacommented, Dec 23, 2022

nice! I was still unable to reproduce with your versions so that’s odd.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
In my case, I got it like this "Module not found: Error: Can't resolve 'react-icons/fa' in 'C:\Users\user\Desktop\Projects\Address Locator\ ...
Read more >
Runtime error: Error: Cannot find module 'expect' #1 - GitHub
Hi Sanjo, how do you configure the sandbox for "expect" module to be find ? Thu, 31 Dec 2015 19:40:55 GMT wallaby:workers Running...
Read more >
[Solution] Error: Cannot Find Module "nodemailer" - Courier
This error occurs when you have not installed the nodemailer library in your Node.js application. Solution - Here's How To Resolve It. First,...
Read more >
How to fix Error: cannot find module "webpack" - Educative.io
The Cannot find module webpack occurs when webpack is not globally installed. It is a problem with the npm script or application. You...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found