Uncaught RequestError: The "listener" argument must be of type function. Received an instance of Object
at Request._beforeError (file:///home/kesav/.cache/deno/npm/registry.npmjs.org/got/14.4.3/dist/source/core/index.js:183:21)
at Request.flush (file:///home/kesav/.cache/deno/npm/registry.npmjs.org/got/14.4.3/dist/source/core/index.js:172:18)
at _node_internal (ext:deno_node/internal/validators.mjs:283:13)
at checkListener (ext:deno_node/_events.mjs:116:3)
at HttpsClientRequest.once (ext:deno_node/_events.mjs:537:3)
at new ClientRequest (node:http:172:12)
at new HttpsClientRequest (node:https:73:79)
at request (node:https:123:10)
at Request._makeRequest (file:///home/kesav/.cache/deno/npm/registry.npmjs.org/got/14.4.3/dist/source/core/index.js:838:37)
at Request.flush (file:///home/kesav/.cache/deno/npm/registry.npmjs.org/got/14.4.3/dist/source/core/index.js:158:24)
at eventLoopTick (ext:core/01_core.js:175:7)
...
The text from the request
...
import {got} from 'npm:got';
await got.get('https://www.google.com').text()
...
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too