atom markdown报错:AssertionError: html-pdf: Failed to load PhantomJS module.

今天安装markdown-pdf之后运行的时候报错:

AssertionError: html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using ‘options.phantomPath’

之后安装brew install phantomjs,还是报相同的错误。

直接换markdown-themeable-pdf就可以正常生成pdf了。

环境是mac,windows的可以参考这篇博客.

posted @ 2016-07-02 22:33  小明tx  阅读(2471)  评论(0编辑  收藏  举报