gossterrible / whatsapp2html

Convert a WhatsApp Backup chat to a html site
https://www.npmjs.com/package/whatsapp2html
8 stars 1 forks source link

it not working #1

Open devsanthoshmk opened 1 month ago

devsanthoshmk commented 1 month ago

I install it using npm install -g whatsapp2html using root access in linux mint because install it normally throws some permission error and after it successfully installed it started well and while processing the .zip backup file it throw an error

image

gossterrible commented 1 month ago

@devsanthoshmk That looks like a problem with including the single quotes in the path 'home/santhosh......' instead just use the path without the single quotes so home/santhosh......

devsanthoshmk commented 1 month ago

Thank you for your reply

Later i found that path is a mistake and i got another issue which is the node version that fixes everything but still a very little issue not much of a thought which is...

node: 11266) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use 'node-trace-deprecation... to show where the warning was created)

devsanthoshmk commented 1 month ago

Actually i forgot to say something this will only work if we manually go and change the *.txt file to _chat.txt

gossterrible commented 1 month ago

That's new, Maybe Whatsapp changed their export file structure. Please can you share what was the file structure of the zip file ?

devsanthoshmk commented 1 month ago

sure... image its simple only a txt file but when i rename that to _chat.txt then only it works well

gossterrible commented 1 month ago

I have updated the package to fix this issue, please can you try version 1.0.25 ?

Breitr commented 2 weeks ago

Hello, I'm trying tu use the latest version 1.0.25 but I'm facing difficulties understanding the problem. Thank you for any help you could assist me with.

up to date, audited 262 packages in 1s

55 packages are looking for funding run npm fund for details

2 high severity vulnerabilities

Some issues need review, and may require choosing a different dependency.

Run npm audit for details.

npm audit report

eta <2.0.0 Severity: high XSS Attack with Express API - https://github.com/advisories/GHSA-xrh7-m5pp-39r6 No fix available node_modules/whatsapp2html/node_modules/eta whatsapp2html * Depends on vulnerable versions of eta node_modules/whatsapp2html

2 high severity vulnerabilities

Some issues need review, and may require choosing a different dependency.