theoomoregbee / US-visa-appointment-notifier

This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.
MIT License
104 stars 57 forks source link

TimeoutError #34

Closed LacinaSilue closed 1 year ago

LacinaSilue commented 1 year ago

Hello ! Thanks for your application. But I do not know why I get this error anytime I run it.

TimeoutError: Navigation timeout of 30000 ms exceeded at LifecycleWatcher._LifecycleWatcher_createTimeoutPromise (C:\Users\Labex\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\LifecycleWatcher.js:164:12) at async Frame.waitForNavigation (C:\Users\Labex\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\Frame.js:236:23) at async Page.waitForNavigation (C:\Users\Labex\US-visa-appointment-notifier\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1207:16) at async login (C:\Users\Labex\US-visa-appointment-notifier\index.js:27:3) at async process (C:\Users\Labex\US-visa-appointment-notifier\index.js:85:19) at async C:\Users\Labex\US-visa-appointment-notifier\index.js:103:5

KeeratKG commented 1 year ago

Hi. I experienced a similar issue, and finally resolved it by fixing my saved version of puppeteer as suggested here.

Run the following command in the repo location: npm i puppeteer --save

Versions:

> npm -v

9.5.1

> node -v

v18.16.0

Hope this helps!