TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received type object
wget http://127.0.0.1:8891/?url=github.com -O github.png
--2020-09-28 15:04:32-- http://127.0.0.1:8891/?url=github.com Connecting to 127.0.0.1:8891... connected. HTTP request sent, awaiting response... 2020-09-28T07:04:32.288Z - info: Capture site screenshot: "github.com" 2020-09-28T07:04:32.745Z - error: Process error: internal/validators.js:125 throw new ERR_INVALID_ARG_TYPE(name, 'string', value); ^
TypeError [ERR_INVALID_ARG_TYPE]: The "file" argument must be of type string. Received type object
at validateString (internal/validators.js:125:11)
at normalizeSpawnArguments (child_process.js:411:3)
at spawn (child_process.js:545:16)
at Object.
2020-09-28T07:04:32.745Z - error: error=Can not capture: github.com 500 Internal Server Error 2020-09-28 15:04:32 ERROR 500: Internal Server Error.