Unhandled Runtime Error Error: Cannot find module `@tanstack/react-query`
See original GitHub issueProvide environment information
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:-
- Pull this repo/branch https://github.com/envless/envless/pull/13
- Run
yarn install
- Run
yarn dev
Additional information
No response
👨👧👦 Contributing
- 🙋♂️ Yes, I’d be down to file a PR fixing this bug!
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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. 🎉
nice! I was still unable to reproduce with your versions so that’s odd.