LaTeX.js icon indicating copy to clipboard operation
LaTeX.js copied to clipboard

Running LaTeX.js in Windows gives error

Open BinaryAura opened this issue 6 years ago • 3 comments

After installing npm and latex.js as the README.md shows running latex.js yields the following error:

latex js_issue

BinaryAura avatar Nov 25 '19 16:11 BinaryAura

Hm... I guess this might mean that PowerShell cannot execute the standard shell scripts, because line 1 is

#!/usr/bin/env node

So the # is a problem... I don't know Windows/PowerShell, so no idea what to do here.

michael-brade avatar Nov 25 '19 21:11 michael-brade

Run it as node latex.js ?

callum-atwal avatar Dec 11 '19 17:12 callum-atwal

yeah... that idea would work, but you would have to add the full path to latex.js - which is kind of ugly. Can't we install a binary on Windows that works when typing just latex.js?

michael-brade avatar Dec 12 '19 21:12 michael-brade