@potty yes tiktok updating the security... I found way around to login. Just use login with third party authentication such as... login with google and etc. I found login with google working well.. but you need to exercise login with google from you phone app first.. or browser outside BAS... then you try to login using BAS...
docx2html что не так делаю?
-
await (new Promise((resolve, reject) => {
const docx2html=require("docx2html")
const path = [[FOREACH_DATA]]
docx2html(path)
.then(html=>{
//html.toString()
console.log(html.toString());
});
resolve()
}));Почему то не работает console.log
Пробовал и с синхронизировать и без, просто не выводится console.log, в переменную тоже ничего не записывается -
на //html не обращайте внимания забыл коммент из документации убрать
-
const docx2html = require("docx2html"); let html = await docx2html([[FOREACH_DATA]]); console.log(html.toString()); -
@GhostZ а с чем может быть связано что выдает пустой объект после преобразования в html. Просто {}. Не спрашивал бы снова на форуме, но я реально уже все перерыл и не могу решение найти
Путь правильно указан, файл docx не пустой. Вы не сталкивались случайно? -
@Nightingale99, нет, я не работаю с docx файлами в скриптах