Skip to content

TypeError: fsPath.existsSync is not a function #3

@sincerefly

Description

@sincerefly

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions