domenic / worm-scraper

Scrapes the web serial Worm and its sequel Ward into an eBook format
Other
206 stars 48 forks source link

Invalid Syntax #4

Closed UrsysC closed 7 years ago

UrsysC commented 7 years ago

As the title says. Installed with v7.4.0 of node.js (not the LTS version) on Windows 10 x64 and ran in an elevated command prompt.

Running worm-scraper --help prompts a syntax error (Code: 800A03EA).

The same occurs with worm-scraper download convert scaffold zip

Note that this issue persisted after a reinstallation of worm-scraper. I also tried cding to the directory where worm-scraper was installed, to no avail.

araphiel commented 7 years ago

@TheIronRose

This may not help you but I got it working via OSX:

  1. Adding #!/usr/bin/env node to worm-scraper.js in line 1
  2. Removing /* eslint-disable no-process-exit */ from worm-scraper.js

This might be worth a look for you though

ChaoticWyrme commented 7 years ago

If you run it via the node command it works, i.e cd %APPDATA%\npm\node_modules\worm-scraper\lib node worm-scraper

daleamann commented 7 years ago

If you run it via the node command it works, i.e cd %APPDATA%\npm\node_modules\worm-scraper\lib node worm-scraper

This. Then use node before any other command

domenic commented 7 years ago

Sorry for the delay in fixing this; I was for some reason not watching my own repository!