ysdragon / StreamBot

A self bot to stream videos to Discord.
Other
96 stars 20 forks source link

error starting the bot #15

Closed fightersabo closed 9 months ago

fightersabo commented 9 months ago

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

ysdragon commented 9 months ago

Just create movies dir under / path or create your own custom dir name or path.