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

this.ctx undefined #4

Open
akhilpmin opened this issue Dec 5, 2017 · 3 comments
Open

this.ctx undefined #4

akhilpmin opened this issue Dec 5, 2017 · 3 comments

Comments

@akhilpmin
Copy link

this.ctx undefined

@AkshatGiri
Copy link

I keep on getting the same error as well.
I followed the instructions given to install all the dependencies.
Getting the error trying to run the example given in the docs.

Node Version - v10.7.0
NPM Version - 6.1.0

image

@franckboudraa
Copy link

You need to fork filterous-2, upgrade canvas version to 2.5.2 and follow the instructions for migrating node-canvas from 1.x to 2.x : https://github.com/Automattic/node-canvas/blob/master/CHANGELOG.md#200

It works for me after completing that

@amydinsyahira
Copy link

Upgrade with async await to load image URL or buffer in PR #10. It should fix the undefined this.ctx

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

4 participants