131/h264-live-player

Fresh clone and error

fxfactorial opened this issue · 2 comments

Just cloned and did as said in README, used both npm and yarn to install and got this.

$ uname -a
Darwin ... 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64
~/R/player ❯❯❯ git rev-parse --short HEAD
7de8ff1
~/R/player ❯❯❯ node --version
v9.10.0
~/R/player ❯❯❯ node server-static.js
New guy
/Users/me/Repos/player/lib/_server.js:79
      self.readStream.end();
                      ^

TypeError: Cannot read property 'end' of undefined
    at WebSocket.<anonymous> (/Users/me/Repos/player/lib/_server.js:79:23)
    at WebSocket.emit (events.js:185:15)
    at WebSocket.cleanupWebsocketResources (/Users/me/Repos/player/node_modules/ws/lib/WebSocket.js:926:10)
    at Socket.emit (events.js:185:15)
    at endReadableNT (_stream_readable.js:1106:12)
    at process._tickCallback (internal/process/next_tick.js:114:19)

@131 Any pointers?

131 commented

I'll look into that if i find some time, can't really say when :x