[[BAIT]] = filedata
Node process stopped
-
Вот так выглядит мой код для поиска неиспользованных профилей:
const fs = require("fs");
const listOfUsedProfiles = fs.readFileSync([[PROFILES_LINK_DIRECTORY]] + "/used_profiles.txt", { encoding: "utf8", flag: "r" });
const listOfProfiles = fs.readdirSync([[PROFILES_LINK_DIRECTORY]]);
let randomProfile = listOfProfiles[Math.floor(Math.random() * listOfProfiles.length)];while (randomProfile.split(".").includes("txt") || listOfUsedProfiles.includes(randomProfile)) {
console.log(randomProfile);
randomProfile = listOfProfiles[Math.floor(Math.random() * listOfProfiles.length)];
}[[RANDOM_PROFILE_FOLDER]] = randomProfile;
раньше он работал долгое время и примерно неделю назад перестал, что может быть не так?
-
@quod said in Node process stopped:
раньше он работал долгое время и примерно неделю назад перестал, что может быть не так?
Читайте файл node_log.txt
-
@quod said in Node process stopped:
@Fox, Таймаут во время выполнения функции на встроенном языке
Перечитайте моё сообщение