PrismarineJS/prismarine-viewer

TypeError: createCanvas is not a function #209

Timtaran posted onGitHub

D:\Timur\_Minecraft_Bot\node_modules\prismarine-viewer\lib\headless.js:18
  const canvas = createCanvas(width, height)
                 ^

TypeError: createCanvas is not a function

Code from example: https://github.com/PrismarineJS/prismarine-viewer/blob/master/examples/headless.js


npm install node-canvas-webgl

posted by Timtaran over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests