Skip to content

TypeError: canvas[method] is not a function #24

Description

I'm not able to execute the program correctly due the following message error:

node test-server.js
server started
D:\Users\dcarpioc\AppData\Local\Temp\node-captcha\node_modules\canvas\lib\jpegstream.js:44
    canvas[method](options.bufsize, options.quality, options.progressive, function(err, chunk){
                  ^

TypeError: canvas[method] is not a function
    at D:\Users\dcarpioc\AppData\Local\Temp\node-captcha\node_modules\canvas\lib\jpegstream.js:44:19
    at process._tickCallback (internal/process/next_tick.js:112:11)

I'm using:
node v9.8.0
npm 5.6.0

Please help me. Thanks in advance.

localhost8080

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions