Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcrash when image file not found #13

offbynull opened this issue Jul 3, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jul 3, 2019

[Browsersync] Reloading Browsers... (buffered 2 events)
    throw new Error(`The file ${fileName} was not found!`);

Error: The file /home/user/markdown-notes/.cache/render/input/320px-AminoAcidball.svg.png was not found!
    at DataURI.encodeSync (/home/user/markdown-notes/node_modules/datauri/api.js:77:11)
    at new DataURI (/home/user/markdown-notes/node_modules/datauri/index.js:13:34)
    at Object.util.getFileReplacement (/home/user/markdown-notes/node_modules/web-resource-inliner/src/util.js:190:24)
    at Object.replaceImg (/home/user/markdown-notes/node_modules/web-resource-inliner/src/html.js:121:16)
    at /home/user/markdown-notes/node_modules/async/dist/async.js:3880:24
    at eachOfArrayLike (/home/user/markdown-notes/node_modules/async/dist/async.js:1069:9)
    at eachOf (/home/user/markdown-notes/node_modules/async/dist/async.js:1117:5)
    at _parallel (/home/user/markdown-notes/node_modules/async/dist/async.js:3879:5)
    at parallelLimit (/home/user/markdown-notes/node_modules/async/dist/async.js:3962:5)
    at Object.module.exports [as html] (/home/user/markdown-notes/node_modules/web-resource-inliner/src/html.js:265:5)

@offbynull offbynull closed this Jul 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.