Skip to content

Error on path #1

@tonywtrd

Description

@tonywtrd

Thanks for sharing code, i was looking for RTSP live recording for my home cam for personal purpose.

After installing files with npm install and lauch with docker-compose, it throw me error of path even i already created Storage path.

Error: ENOENT: no such file or directory, mkdir 'Storage/cam1' web_1 | at Object.mkdirSync (fs.js:987:3) web_1 | at FileHandler.createDirIfNotExists (/run/app/node_modules/node-rtsp-recorder/src/helpers/fileHandler.js:12:10) web_1 | at new RTSPRecorder (/run/app/node_modules/node-rtsp-recorder/src/helpers/recorder.js:25:8) web_1 | at Object.<anonymous> (/run/app/app.js:48:12) web_1 | at Module._compile (internal/modules/cjs/loader.js:1063:30) web_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) web_1 | at Module.load (internal/modules/cjs/loader.js:928:32) web_1 | at Function.Module._load (internal/modules/cjs/loader.js:769:14) web_1 | at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) web_1 | at internal/main/run_main_module.js:17:47 { web_1 | errno: -2, web_1 | syscall: 'mkdir', web_1 | code: 'ENOENT', web_1 | path: 'Storage/cam1' web_1 | } web_1 | [nodemon] app crashed - waiting for file changes before starting...

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