Skip to content

TRPC Subcsriptions and Socket Server #66

Open
@vigneshprasad

Description

@vigneshprasad

This has been far and away the best template I've used in a long time and I've thoroughly enjoyed how easy it has been to use. I'm currently trying to implement TRPC subscriptions and a socket server and for some reason can't seem to run a socket server. I keep running into this issue

SyntaxError: The requested module 'react' does not provide an export named 'cache'

It seems to be triggering from the validate request in the lib auth directory. I've even tried passing session and user objects as null and creating a new context all together but can't seem to get past this error. Would be really helpful if someone can guide me on implementing web sockets correctly.

I understand this is not in the scope of this repository exactly and might not be something a lot of people want but would be super helpful if anyone has any pointers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions