cohost-dl icon indicating copy to clipboard operation
cohost-dl copied to clipboard

script stops executing with error message + no out directory

Open Matytoonist opened this issue 4 months ago • 6 comments

i left the script running overnight, and this morning i encountered this error:

error: Uncaught (in promise) SyntaxError: Unexpected end of JSON input
    const trpcState = JSON.parse(
                           ^
    at JSON.parse (<anonymous>)
    at getPageState (file:///home/matias/Coding/cohost-dl/src/model.ts:253:28)
    at loadAllLikedPosts (file:///home/matias/Coding/cohost-dl/src/likes.ts:34:27)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async file:///home/matias/Coding/cohost-dl/main.ts:47:23

also the script hasnt created any new directory as far as i can see, so idk where is storing all of this besides the main.ts file it mentions

Matytoonist avatar Sep 26 '24 12:09 Matytoonist