Closed yuorfaec closed 11 months ago
Thanks for the detailed report. I am able to reproduce this on Windows (OTOH it works fine in Linux). I'll see if I can fix this soon.
OK, narrowed this down to:
https://github.com/nodejs/node/issues/48673
Tested with Node.js v18.19 (LTS) and v21.5 (Current non-LTS) on Windows. Both worked fine.
So this is not a bug with patreon-dl
itself, but with current Node.js v20 LTS Windows version. Until v20 gets updated with a fix, use v18 or v21.5.
Fascinating. I tried node 20.10 on ubuntu 20.04 and node 21.5 on win 10 22H2. Both are working as intended! Thanks for the research. I'm fine with closing/resolving/workaround'ing this issue.
Appreciate the confirmation!
Windows 10 22H2 Node.js v20.10.0.
When a post starts with an emoji, the script hangs without any output or logging. Curiously, the console output shows about 10 more lines than the logger set at debug.
I've created a public and free patreon page that recreates the issue, here. The newest post downloads but there is nothing in status-cache.json or in any of the output folders that mention the 2nd post by name or ID. WIndows does support emoji in file and directory names. Let me know if other files are needed.
Console output:
Debug output: