PrismarineJS/prismarine-viewer

The issue has been closed
[screenshot.js] Error loading textures #119
shketov posted onGitHub
When I try to take a screenshot, I get an error that no. png file with textures was found at the specified path
Using version: 1.12
(node:2072) UnhandledPromiseRejectionWarning: Error: ENOENT, No such file or directory 'C:\Users\shketov\Desktop\Bot\node_modules\prismarine-viewer\public\textures\1.12.png'
at setSource (C:\Users\shketov\Desktop\Bot\node_modules\canvas\lib\image.js:91:13)
at Image.set (C:\Users\shketov\Desktop\Bot\node_modules\canvas\lib\image.js:62:9)
at C:\Users\shketov\Desktop\Bot\node_modules\canvas\index.js:34:15
at new Promise (<anonymous>)
at loadImage (C:\Users\shketov\Desktop\Bot\node_modules\canvas\index.js:23:10)
at loadTexture (C:\Users\shketov\Desktop\Bot\node_modules\prismarine-viewer\viewer\lib\utils.js:7:3)
at WorldRenderer.setVersion (C:\Users\shketov\Desktop\Bot\node_modules\prismarine-viewer\viewer\lib\worldrenderer.js:61:5)
at Viewer.setVersion (C:\Users\shketov\Desktop\Bot\node_modules\prismarine-viewer\viewer\lib\viewer.js:34:16)
at Object.module.exports.main (C:\Users\shketov\Desktop\Bot\modules\screenshot.js:27:10)
at C:\Users\shketov\Desktop\Bot\commands\help.js:17:16