when i use
x-recorder start-video --display :99 --pid $PWD/video.pid --output $PWD/out.mov
there is a error
.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:50
if (!fsPath.existsSync(lockFile)) {
^
TypeError: fsPath.existsSync is not a function
at checkDisplay (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:50:17)
at Object. (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:56:3)
at Object.runScript as run
at Object. (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/bin/x-recorder:16:19)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
when i use
there is a error
.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:50
TypeError: fsPath.existsSync is not a function
at checkDisplay (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:50:17)
at Object. (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/scripts/start-video.js:56:3)
at Object.runScript as run
at Object. (/home/solideo/.nvm/versions/node/v5.0.0/lib/node_modules/x-recorder/bin/x-recorder:16:19)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)