limedocs / limedocs-wiki-converter

Generate HTML & PDF documentation from you Github wiki or any other markdown-based wiki
MIT License
43 stars 65 forks source link

Unhandled rejection Error #13

Open MrHinsh opened 3 years ago

MrHinsh commented 3 years ago

How do I enable support for linked image downloads?

C:\Users\MartinHinshelwoodnkd\source\repos\APS.wiki [master ≡]> lwc -f pdf -v -d .\
debug:   gwc launched with options format=pdf, output=./, title=Documentation , tocFile=null, tocLevel=3, highlightTheme=darkula, userCssFile=null, verbose=true, disableInlineAssets=true, filename=documentation
(node:26120) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
debug:   Found 19 markdown files and 19 links pointing to them in TOC
Unhandled rejection Error: The file https://cloud.githubusercontent.com/assets/89504/25373965/ff6d88c0-299b-11e7-85c7-579f05deafb3.jpg was not found!
Please report this to https://github.com/markedjs/marked.
    at DataURI.encodeSync (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\datauri\lib\datauri\api.js:63:19)
    at DataURI (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\datauri\lib\datauri\module.js:29:37)
    at Renderer.mainRenderer.image (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\markdown.js:47:48)
    at InlineLexer.outputLink (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:738:21)
    at InlineLexer.output (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:653:19)
    at Parser.tok (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:1142:50)
    at Parser.parse (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:1003:17)
    at Function.Parser.parse (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:985:17)
    at marked (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\node_modules\marked\lib\marked.js:1322:19)
    at Markdown.convertMarkdownString (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\markdown.js:94:14)
    at Markdown.convertMarkdownFile (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\markdown.js:99:19)
    at LimedocsWikiConverter.<anonymous> (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\limedocs-wiki-converter.js:87:43)
    at Array.forEach (<anonymous>)
    at LimedocsWikiConverter.computePages (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\limedocs-wiki-converter.js:83:27)
    at LimedocsWikiConverter.getPages (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\limedocs-wiki-converter.js:97:14)
    at PdfWriter.write (C:\Users\MartinHinshelwoodnkd\AppData\Roaming\npm\node_modules\limedocs-wiki-converter\dist\pdf-writer.js:43:27)
C:\Users\MartinHinshelwoodnkd\source\repos\APS.wiki [master ≡ +6 ~0 -0 !]>