omar-haris / nginx-rtmp-monitoring

real-time monitoring statistics dashboard for nginx rtmp module
MIT License
294 stars 92 forks source link

error #5

Open petrichbg opened 7 years ago

petrichbg commented 7 years ago

node server.js buffer.js:74 throw new Error( ^

Error: If encoding is specified then the first argument must be a string at new Buffer (buffer.js:74:13) at new FetchStream (/usr/local/nginx/html/node_modules/fetch/lib/fetch.js:41:27) at fetchUrl (/usr/local/nginx/html/node_modules/fetch/lib/fetch.js:386:23) at Timeout._onTimeout (/usr/local/nginx/html/server.js:80:3) at ontimeout (timers.js:386:14) at tryOnTimeout (timers.js:250:5) at Timer.listOnTimeout (timers.js:214:5)

hezila commented 7 years ago

@petrichbg try to update the fetch package to v1.1.0