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'm learning tRPC with Next (thanks Theo), I just had it setup and working with my project, but I disliked the default file structure provided by Next and I read it is possible to move my code in a dedicated src directory. After moving everything over and changing the import paths, I noticed tRPC stopped working with the following error: TypeError: Cannot read properties of null (reading 'client')
I'm learning tRPC with Next (thanks Theo), I just had it setup and working with my project, but I disliked the default file structure provided by Next and I read it is possible to move my code in a dedicated
src
directory. After moving everything over and changing the import paths, I noticed tRPC stopped working with the following error:TypeError: Cannot read properties of null (reading 'client')
Here's a repository to replicate my issue: https://github.com/Je12emy/twitter-nextjs/tree/trpc_port
After looking at #1789 I created a new issue due to me using Next 12.2.5
The text was updated successfully, but these errors were encountered: