Unable to add module with websockets

Hi, I am unsure if this query has to specifically with twenty or nestjs functionality. I am trying to add the library baileys (https://github.com/WhiskeySockets/Baileys). I have created the module, added it to the core-modules, added dependencies. When I start the server using yarn nx start twenty-server along with the existing core modules app on the same port (3000), neither the http controllers load, nor do the sockets. Been struggling with this. Have added the baileys.zip module which you can copy paste directly into core-modules and import in core-engine.module.ts to replicate. What am I doing wrong/ how can I get both the sockets as well as the controllers load?
2 Replies
arnavsaxena
arnavsaxena6mo ago
Here is a copy of the module showing how the app works well in a standalone nestjs app. Please advise - How to get it to work with twenty app? Solved this by bootstrapping the sockets module into a whole different module
charles
charles5mo ago
Interesting! Note that this part of Twenty is not stable yet and you'll probably have work to keep it up-to-date with new versions
Want results from more Discord servers?
Add your server