Skip to content

Packaged app can't find Pandoc #7

@lowercasename

Description

@lowercasename

Hi, thank you for building this great module! It runs just fine through electron, but after I package the app with electron-builder or electron-packager, trying to use Pandoc in the app gives me the following error:

Uncaught Exception:
Error: spawn pandoc ENOENT

I'm an Electron and Node novice, but from what I've read it appears that this means the app can't find Pandoc. Some command line tests:

> which pandoc
/usr/local/bin/pandoc
> pandoc -v
pandoc 2.5
Compiled with pandoc-types 1.17.5.4, texmath 0.11.1.2, skylighting 0.7.4
> echo $PATH
/usr/local/sbin:/usr/local/bin: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions