Package Details: nodejs-markdown-pdf 9.0.0-1

Git Clone URL: https://aur.archlinux.org/nodejs-markdown-pdf.git (read-only)
Package Base: nodejs-markdown-pdf
Description: Markdown to PDF converter
Upstream URL: https://github.com/alanshaw/markdown-pdf
Licenses: MIT
Submitter: badeball
Maintainer: badeball
Last Packager: badeball
Votes: 7
Popularity: 0.000034
First Submitted: 2015-02-11 16:22
Last Updated: 2018-09-02 08:58

Latest Comments

badeball commented on 2019-09-25 18:49

unix, I'm not able to reproduce the issue. Can you provide me with the markdown file?

unix commented on 2019-09-17 16:16

trying to run markdown results in:

$ markdown-pdf template.md                                                                                                                                                                                       
[±master ●]
internal/modules/cjs/loader.js:775
throw err;
    ^

Error: Cannot find module 'through2'
Require stack:
- /usr/lib/node_modules/markdown-pdf/index.js
- /usr/lib/node_modules/markdown-pdf/bin/markdown-pdf
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:772:15)
    at Function.Module._load (internal/modules/cjs/loader.js:677:27)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/usr/lib/node_modules/markdown-pdf/index.js:4:15)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Module.require (internal/modules/cjs/loader.js:830:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/lib/node_modules/markdown-pdf/index.js',
    '/usr/lib/node_modules/markdown-pdf/bin/markdown-pdf'
  ]
}

pacman log:

error: could not extract /usr/lib/node_modules/markdown-        
pdf/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs (Lzma library 
error:  No progress is possible)
error: problem occurred while installing nodejs-markdown-pdf
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

badeball commented on 2019-09-17 12:58

Is it nodejs-markdown-pdf specifically that fails to install or can it be phantomjs? Also, can you provide a full log?

polylux commented on 2016-11-25 08:27

Thanks for the quick fix! Yea, makedep is totally fine.

badeball commented on 2016-11-24 18:58

polylux, thanks for the heads up! I've added npm as a make dependency, as it seems to only be used during installation.

polylux commented on 2016-11-23 13:21

Note: npm is missing as a required dependency.