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.

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.