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

TypeError: Cannot read properties of null (reading '$') #12

Closed preet1312 closed 1 year ago

preet1312 commented 1 year ago

Getting "TypeError: Cannot read properties of null (reading '$')" when running npm start, Kindly help

ps8695 commented 1 year ago

$ npm i

up to date in 42s

9 packages are looking for funding run npm fund for details

vv@VNDCCORPHP1893 MINGW64 ~/Desktop/US-visa-appointment-notifier-main $ npm start

us-visa-appointment-notifier@1.0.0 start node index.js

C:\Users\vv\Desktop\US-visa-appointment-notifier-main\node_modules\puppeteer\lib\cjs\puppeteer\node\ChromeLauncher.js:70 throw new Error(missingText); ^

Error: Could not find expected browser (chrome) locally. Run npm install to download the correct Chromium revision (1022525). at ChromeLauncher.launch (C:\Users\vv\Desktop\US-visa-appointment-notifier-main\node_modules\puppeteer\lib\cjs\puppeteer\node\ChromeLauncher.js:70:23) at async C:\Users\vv\Desktop\US-visa-appointment-notifier-main\index.js:96:19

Node.js v18.14.0

theoomoregbee commented 1 year ago

You need to pull the latest changes - this was fixed in https://github.com/theoomoregbee/US-visa-appointment-notifier/pull/2