Halo!,
I have a problem with socket.io, when I compile it only appears that the EventsModule dependency has been initialized, but the [WebSocketsController] event does not appear with the name of the event. I leave my screenshot of how I am declaring my modules, I suppose it is something typed I hope so.
Thanks
#socket.io #socket
#socket, config
14 messages · Page 1 of 1 (latest)
What do you mean by "does not appear with the name of the event"?
In photo A you can see that it initializes the module but the event does not, in it it initializes the [WebSocketsController] as in photo B, which prevents me from calling the events
What is this WebSocketsController? I don't see that in any of your screenshots? Can you provide access to your code at all?
Here I would have to show 2 things, the first if it shows where the module dependencies are initialized, the [WebSocketsController] would be missing EventsGateway subscribed to the "test" message +60ms
Ah, WebSocketsController is a nest internal class, got it. Do you havea reproduction that shows this behavior?
i follow this example
https://www.youtube.com/watch?v=iObzX8-Y5xg&list=LL&index=2&t=661s&ab_channel=AnsontheDeveloper
Support the Channel:
Become a Member: https://www.youtube.com/ansonthedeveloper/join
Become a Patreon: http://patreon.com/stuyy
Buy me a Coffee: http://ko-fi.com/anson
Donate on Streamlabs: https://streamlabs.com/ansondevacademy/tip
Donate on PayPal: https://paypal.me/ansonfoong
Connect with me:
Twitter: https://twitter.com/ansonthedev
Discor...
Do you understand what I mean by "provide a reproduction"?
mmm not
A git repo that I'm able to clone and run locally that shows the same behavior as what you're currently experiencing