-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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...