dmx.Socket is missing

Hi!

I am getting the following error when I activate “Live Refresh with Sockets” and try to refresh the page. What am I missing?

BaseComponent.js:38 TypeError: dmx.Socket is not a function
    at n.render (serverconnect.js:15)
    at n.constructor (BaseComponent.js:21)
    at n (appConnect.js:536)
    at n.constructor (fetch.js:5)
    at n [as constructor] (appConnect.js:536)
    at n.e.hasOwnProperty.e.constructor (appConnect.js:566)
    at new n (appConnect.js:536)
    at n.$addChild (BaseComponent.js:220)
    at n.<anonymous> (BaseComponent.js:295)
    at Object.walk (dom.js:180)
constructor @ BaseComponent.js:38
serverconnect.js:43 Uncaught TypeError: Cannot read properties of undefined (reading 'emit')
    at n.refresh (serverconnect.js:43)
    at n.fetch (serverconnect.js:25)
    at appConnect.js:338

Did you end up figuring out what was going on with this error? I’m seeing the same. Thanks!

As an FYI - I’m pretty sure this is because I was referencing a socket in a partial without having “<script src=“socket.io/socket.io.js” defer></script>
<script src=“dmxAppConnect/dmxSockets/dmxSockets.js” defer></script>” in my layout