shurcooL-legacy / atom-markdown-format

Formats your Markdown text on save.

Home Page:https://atom.io/packages/markdown-format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't save

cfarvidson opened this issue · comments

Window load time: 702ms /Applications/Atom.app/Contents/Resources/app/src/window-bootstrap.js:18
Uncaught Error: spawn ENOENT

Did you install markdownfmt successfully? This package is a wrapper around that, as it says in package description:

You need to point to the path of the markdownfmt binary, which you can get at github.com/shurcooL/markdownfmt.

If that fixes your issue, then I should definitely add some better and more informative error checking. Uncaught Error: spawn ENOENT is very unhelpful.

Yeah, I confirmed, that error happens when the pathToBinary value does not point to a valid markdownfmt binary.

I need to improve that error message to be more helpful.

Fixed via 6b5f21c. This package is now self-contained and should work out of box.

Awesome! :-)