You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run this code most of time I get the following error, what I find is that this error occurs during the line of await client.login();
(node:6032) UnhandledPromiseRejectionWarning: RequestError: Error: read ECONNRESET
at new RequestError (D:\insta\newp\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (D:\insta\newp\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (D:\insta\newp\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (D:\insta\newp\node_modules\request\request.js:185:22)
at Request.emit (events.js:315:20)
at Request.onRequestError (D:\insta\newp\node_modules\request\request.js:877:8)
at ClientRequest.emit (events.js:315:20)
at TLSSocket.socketErrorListener (_http_client.js:469:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:6032) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6032) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Thanks for helping.
The text was updated successfully, but these errors were encountered:
Hello Guys,
When I run this code most of time I get the following error, what I find is that this error occurs during the line of
await client.login();
Thanks for helping.
The text was updated successfully, but these errors were encountered: