-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Can't use in deno:
error: Uncaught TypeError: socket.setTimeout is not a function
at RedirectableRequest.destroyOnTimeout (file:///Users/aymanalkait/Library/Caches/deno/npm/registry.npmjs.org/follow-redirects/1.15.2/index.js:158:12)
at RedirectableRequest.emit (ext:deno_node/_stream.mjs:1857:11)
at HttpsClientRequest.eventHandlers. (file:///Users/aymanalkait/Library/Caches/deno/npm/registry.npmjs.org/follow-redirects/1.15.2/index.js:14:24)
at HttpsClientRequest.emit (ext:deno_node/_stream.mjs:1857:11)
at node:http:388:18
at processTicksAndRejections (ext:deno_node/_next_tick.ts:25:21)
at runNextTicks (ext:deno_node/_next_tick.ts:71:5)
at eventLoopTick (ext:core/01_core.js:189:21)
I downgraded the package and found out it works only if i downgrade all the way to 1.2.0
However, even with 1.2.0 if the app is idle for sometime it crashes with the following similar exception:
Uncaught TypeError: socket.setTimeout is not a function