domenic / worm-scraper

Scrapes the web serial Worm, its sequel Ward, and the bridge series Glow-worm into an ebook format
Other
210 stars 48 forks source link

`ENOENT: no such file or directory, rmdir '/Users/brachbach/worm/staging/worm/OEBPS/chapters'` for `worm-scraper convert` #21

Closed brachbach closed 3 years ago

brachbach commented 3 years ago

I didn't have that directory at the point at which I ran worm-scraper convert (not sure if I was supposed to somehow have it, or what).

Hacked around it for now by just creating the director manually before running the command.

But I think the script should check whether the directory exists and only attempt to remove it if it does exist

domenic commented 3 years ago

Did you follow this part of the instructions in the README?

First you'll need a modern version of Node.js. Install whatever is current (not LTS); at least v12.10.0 is necessary.

brachbach commented 3 years ago

Ah, nope! I'll close this.