Skip to content
#

node-canvas

Here are 33 public repositories matching this topic...

Veinify
Veinify commented Oct 2, 2020

I don't really know how i got this error for some reason. It doesn't showed up before. The only thing i did was updating my node modules(without changing the version). I'm using the latest version. Anyways heres the code that i use:

const captchacode = randomBytes(32).toString("hex").substr(0, 6);
const { CaptchaGenerator } = require('captcha-canvas');
const captcha = new CaptchaGenerator(

Improve this page

Add a description, image, and links to the node-canvas topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the node-canvas topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.