Quote:
Unhandled rejection TypeError: fs.statsAsync is not a function
|
I had this exact error while also running Debian Jessie. I went through all the things in this thread, compiling rtmpdump with the ksv patch, installing the latest stable nodejs, etc.
What ended up fixing the issue for me was changing
fs.stats.Async to
fs.stat on line 45 of the main.js file. I am no programmer by any means but I think this breaks capturbate-node's behavior of NOT creating a single flv file every time capturebate does a model scan and a model is online but also in private mode. A simple 'find Capture/ -size 0 -delete' gets rid of it.
Also another related peculiarity that was going on for me is in the config.yml file, for the modelScanInterval, for my system it should be set in terms of milliseconds NOT seconds. I had it set to scan every 180 in the config.yml thinking it was 3 minutes but it was actually every 180 milliseconds. 180000 would get the effect of 3 minutes