Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Jimp.read is not a function #22

Open
Tmonitor745 opened this issue Dec 2, 2024 · 1 comment
Open

TypeError: Jimp.read is not a function #22

Tmonitor745 opened this issue Dec 2, 2024 · 1 comment

Comments

@Tmonitor745
Copy link

When I try to run the program this happens. Maybe the function was deprecated? Idk im a python guy not a js guy

@ABjokern
Copy link

ABjokern commented Jan 9, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants