Failed to open cache dir Error: ENOENT: no such file or directory, mkdir '/root/.minecraft/nmp-cache'
at Object.mkdirSync (fs.js:1013:3)
at MsAuthFlow.initTokenCaches (/root/fragrunning-bot/node_modules/minecraft-protocol/src/client/authFlow.js:44:12)
at new MsAuthFlow (/root/fragrunning-bot/node_modules/minecraft-protocol/src/client/authFlow.js:34:10)
at Object.authenticateDeviceCode (/root/fragrunning-bot/node_modules/minecraft-protocol/src/client/microsoftAuth.js:108:18)
at Object.createClient (/root/fragrunning-bot/node_modules/minecraft-protocol/src/createClient.js:41:21)
at Object.createBot (/root/fragrunning-bot/node_modules/mineflayer/lib/loader.js:88:35)
at App.createBotConnection (/root/fragrunning-bot/src/App.js:24:23)
at App.start (/root/fragrunning-bot/src/App.js:17:21)
at /root/fragrunning-bot/index.js:18:11 {
errno: -2,
syscall: 'mkdir',
code: 'ENOENT',
path: '/root/.minecraft/nmp-cache'
}
not sure if that what leads to the other issue which is the bot accepting group invited from anyone even if set on friends mode