yakivmospan / github-wikito-converter

Generate HTML & PDF documentation from Github wiki or any other markdown-based wiki.
Other
293 stars 52 forks source link

Unhandled rejection Error: The file C:\uploads\1e10ef3cce827f82ab1bdb3b5e67ab31\image.png was not found! #16

Open Madmarsu opened 6 years ago

Madmarsu commented 6 years ago

Hello, thanks for such a project, we are numerous to have this kind of request.

After installing the software and myproject.wiki repo as documented, I started gwtc (under Cmder within Laragon, on a Win7 PC), but obtained this error:

λ gwtc .\myproject.wiki
Unhandled rejection Error: The file C:\uploads\1e10ef3cce827f82ab1bdb3b5e67ab31\image.png was not found!
Please report this to https://github.com/chjj/marked.
    at DataURI.encodeSync (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\datauri\api.js:102:11)
    at new DataURI (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\datauri\module.js:24:34)
    at sync (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\datauri\module.js:37:16)
    at Renderer.mainRenderer.image (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\markdown.js:48:50)
    at InlineLexer.outputLink (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:735:21)
    at InlineLexer.output (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:650:19)
    at Parser.tok (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:1137:50)
    at Parser.parse (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:999:17)
    at Function.Parser.parse (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:981:17)
    at marked (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\node_modules\marked\lib\marked.js:1317:19)
    at Markdown.convertMarkdownString (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\markdown.js:109:14)
    at Markdown.convertMarkdownFile (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\markdown.js:116:19)
    at WikiConverter.<anonymous> (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\wiki-converter.js:87:41)
    at Array.forEach (native)
    at WikiConverter.computePages (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\wiki-converter.js:83:27)
    at WikiConverter.getPages (d:\Users\MyUsername\AppData\Roaming\npm\node_modules\github-wikito-converter\dist\wiki-converter.js:96:14)

I don't have C:\uploads directory, and at marked repo couldn't find where to find a clue.