I have installed the canvas module into my discrod js project.
I call require like:
const { createCanvas, loadImage } = require('canvas');
As soon as I run nodemon
I receive this error:
(process:25152): GLib-GIO-CRITICAL **: 20:16:06.545:
Subkey name '"URL: vgdrm Protocol"' starts with ''
I know the lib is deprecated… at least it says that when installing the lib. But this shouldnt mean its not usable anymore.
Many people (1,7m) downloaded it and there are planty of tutorials out there with the version I am using (2.11.2).
But with that error, nothing works anymore. And even that error can’t be found. So I hope someone on SOF may know some more.
How can I get this lib to run properly?