RafalWilinski/express-status-monitor

Crashes my app

MarcGodard opened this issue · 0 comments

I love the idea of this, and really want to add it to my apps, but it crashes them. Maybe a conflict between my sockets and the sockets this site uses?

I might take this apart and build my own version that works with my apps if no one can help me.

I use FeathersJS as my framework, so maybe I can make a version for that framework.

I would also like to style the page to match the app its added too with my menu and stuff.

node_modules/ws/lib/websocket.js:837
  websocket.readyState = WebSocket.CLOSING;
                       ^

TypeError: Cannot set property 'readyState' of undefined
    at Socket.socketOnClose (.../node_modules/ws/lib/websocket.js:837:24)
    at Socket.emit (events.js:203:15)
    at Socket.EventEmitter.emit (domain.js:448:20)
    at TCP._handle.close (net.js:607:12)
[nodemon] app crashed - waiting for file changes before starting...