GD-Pixel-Art
GD-Pixel-Art copied to clipboard
TypeError: Jimp.read is not a function
When I try to run the program this happens. Maybe the function was deprecated? Idk im a python guy not a js guy
I was able to solve this issue by replacing
const Jimp = require('jimp');
with
const { Jimp } = require('jimp');
Something about a new declaration method in Jimp, which the program has not been updated to accomodate.