daydos / us-visa-appointment

A puppeteer script to find and schedule an earlier interview for visas
GNU General Public License v2.0
75 stars 50 forks source link

module not found #21

Open hodlnhope opened 3 months ago

hodlnhope commented 3 months ago

while executing the code I get this:

ode:internal/modules/cjs/loader:1147 throw err; ^

Error: Cannot find module '/Users/aj/usappointment.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'MODULE_NOT_FOUND', requireStack: [] }

prempaulj commented 3 months ago

I too get this error. May I please know how to resolve this issue:

node:internal/modules/cjs/loader:1146 throw err; ^

Error: Cannot find module 'puppeteer' Require stack:

Node.js v20.12.0

DevChaudhary78 commented 3 months ago

@prempaulj please install puppeteer using npm install puppeteer --save