Package Details: nodejs-markdown-pdf 10.0.0-2

Git Clone URL: https://aur.archlinux.org/nodejs-markdown-pdf.git (read-only, click to copy)
Package Base: nodejs-markdown-pdf
Description: Markdown to PDF converter
Upstream URL: https://github.com/alanshaw/markdown-pdf
Licenses: MIT
Submitter: badeball
Maintainer: XZS
Last Packager: badeball
Votes: 7
Popularity: 0.000000
First Submitted: 2015-02-11 16:22 (UTC)
Last Updated: 2021-06-27 17:34 (UTC)

Latest Comments

1 2 Next › Last »

Alfred456654 commented on 2020-03-02 08:32 (UTC)

Unfortunately, I don't know how to achieve that. I looked up the wiki page of PKGBUILD, read through the sections provides, conflicts, replaces, but I didn't find anything.

I successfully installed your package by editing the PKGBUILD and putting phantomjs-bin instead, so maybe you could do that?

badeball commented on 2020-02-29 15:25 (UTC)

Alfred456654, I think that's a good idea. I tried looking into the PKGBUILD specs, but couldn't immediately find something in depends to hint towards another default. Do know how this can be achieved?

Alfred456654 commented on 2020-02-24 08:44 (UTC)

The phantomjs dependency is provided by 3 packages, but the default one, phantomjs, is unmaintained.

Maybe the PKGBUILD should default to phantomjs-bin?

badeball commented on 2019-09-25 18:49 (UTC)

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 (UTC) (edited on 2019-09-17 16:34 (UTC) by unix)

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 (UTC)

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 (UTC)

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

badeball commented on 2016-11-24 18:58 (UTC)

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