(node:2089) UnhandledPromiseRejectionWarning: TypeError: (intermediate value)(intermediate value)(intermediate value).finally is not a function
at Auth.forceLogin (/home/ubuntu/dash/node_modules/airgram/base/Auth.js:476:112)
at /home/ubuntu/dash/node_modules/airgram/base/Auth.js:203:26
at
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:2089) 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(). (rejection id: 1)
(node:2089) [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.
Please enter your phone number:
Once I enter the phone number, it throws the following error
(node:2037) UnhandledPromiseRejectionWarning: Error: Type "continue" is not supported
at AuthDialog. (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:93:23)
at step (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:43:23)
at Object.next (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:24:53)
at /home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:18:71
at new Promise ()
at __awaiter (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:14:12)
at AuthDialog.prompt (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:88:16)
at AuthDialog. (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:79:51)
at step (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:43:23)
at Object.next (/home/ubuntu/dash/node_modules/airgram/components/AuthDialog.js:24:53)
(node:2037) 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(). (rejection id: 4)
OS: Ubuntu 18.04 Node: 8.15.1
Once I enter the phone number, it throws the following error