Error: ENOENT: no such file or directory, scandir '/movies'
at Object.readdirSync (node:fs:1509:26)
at Object. (/root/livev1/StreamBot/dist/index.js:18:33)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/movies'
}
node:fs:1509 const result = binding.readdir( ^
Error: ENOENT: no such file or directory, scandir '/movies' at Object.readdirSync (node:fs:1509:26) at Object. (/root/livev1/StreamBot/dist/index.js:18:33)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12)
at node:internal/main/run_main_module:28:49 {
errno: -2,
code: 'ENOENT',
syscall: 'scandir',
path: '/movies'
}
i did make folder named movies